$PBExportHeader$u_ddplb.sru $PBExportComments$Base DropDownPictureListBox Object forward global type u_ddplb from dropdownpicturelistbox end type end forward global type u_ddplb from dropdownpicturelistbox integer width = 411 integer height = 324 integer textsize = -8 integer weight = 400 fontcharset fontcharset = ansi! fontpitch fontpitch = variable! fontfamily fontfamily = swiss! string facename = "Tahoma" long textcolor = 33554432 borderstyle borderstyle = stylelowered! long picturemaskcolor = 536870912 event ke_mousemove pbm_mousemove end type global u_ddplb u_ddplb type variables Public: //Size Order Long #SizeOrder //Anchoring Boolean #AnchorTop Boolean #AnchorLeft Boolean #AnchorRight Boolean #AnchorBottom //Docking Boolean #Dock //Dock Padding Long #DockType, #DockPadTop, #DockPadLeft, #DockPadRight, #DockPadBottom //Dock control reference String #Dock_Control_Top, #Dock_Control_Left, #Dock_Control_Right, #Dock_Control_Bottom Boolean #Tooltip String #TooltipText Boolean #BalloonTooltip icon #TooltipIcon = none! string #TooltipTitle Private: str_resize istr_resize end variables forward prototypes public function str_resize of_getresizeattrib () end prototypes event ke_mousemove;IF #Tooltip AND #BalloonTooltip THEN parent.DYNAMIC EVENT ke_balloonnotify(#TooltipIcon, #TooltipTitle) END IF end event public function str_resize of_getresizeattrib ();istr_resize.Control = this istr_resize.ControlName = ClassName(this) istr_resize.SizeOrder = #SizeOrder istr_resize.SizeOrder = #SizeOrder istr_resize.Dock = #Dock istr_resize.DockType = #DockType istr_resize.DockPadTop = #DockPadTop istr_resize.DockPadLeft = #DockPadLeft istr_resize.DockPadRight = #DockPadRight istr_resize.DockPadBottom = #DockPadBottom istr_resize.AnchorTop = #AnchorTop istr_resize.AnchorLeft = #AnchorLeft istr_resize.AnchorRight = #Anchorright istr_resize.AnchorBottom = #Anchorbottom istr_resize.reftop = #Dock_Control_top istr_resize.refleft = #Dock_Control_left istr_resize.refright = #Dock_Control_right istr_resize.refbottom = #Dock_Control_bottom istr_resize.bounds.left = X istr_resize.bounds.top = Y istr_resize.bounds.right = width istr_resize.bounds.bottom = height istr_resize.ancestor = CFbase.DropdownPictureListBox RETURN istr_resize end function on u_ddplb.create end on on u_ddplb.destroy end on event selectionchanged;//trigger ke_changes IF ISVALID(Parent) THEN Parent.TriggerEvent(Ckevents.CHANGES) end event event modified;//trigger ke_changes IF ISVALID(Parent) THEN Parent.TriggerEvent(Ckevents.CHANGES) end event
- Sources
- Kodigo
- OpenExplorer
- u_ddplb.sru
File: u_ddplb.sru
Size: 2641
Date: Mon, 07 Apr 2008 21:30:51 +0200
Size: 2641
Date: Mon, 07 Apr 2008 21:30:51 +0200
- dropdownpicturelistbox u_ddplb(sru)