198 |
Is it possible to change the header's visual appearance (EBN)
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:VisualAppearance():Add(1,"c:\exontrol\images\normal.ebn") oPropertiesList:HeaderVisible := .T. oPropertiesList:SetProperty("BackColorHeader",0x1000000) oPropertiesList:HeaderHeight := 22 oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
197 |
Is it possible to change the header's visual appearance
|
196 |
ImageSize property on 32 (specifies the size of control' icons/images/check-boxes/radio-buttons)
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oAppearance LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:ImageSize := 32 oPropertiesList:DefaultItemHeight := 36 oPropertiesList:HeaderHeight := oPropertiesList:DefaultItemHeight() oPropertiesList:Font():Size := 16 oPropertiesList:ToolTipFont():Size := oPropertiesList:Font():Size() oPropertiesList:FilterBarFont():Size := oPropertiesList:Font():Size() oPropertiesList:Indent := 26 oPropertiesList:DescriptionHeight := 96 oPropertiesList:DisplayBoolAs := 1/*exBoolCheck*/ oPropertiesList:FilterBarPromptVisible := -1/*exFilterBarVisible*/ oPropertiesList:HeaderVisible := .T. oPropertiesList:Images("gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqNUqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwyV21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CMPo9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9" +; "FEKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/XIkFgTxT9iONZ9xVTdq+L1eKg3kkF6Upe68XtfV51/MtrVjBlwYFL1ev8y1/P6/lyzzYl02wntj0RVFmS1Qa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jKbJLDaRYxYWRpSjSbIZiSe41m2CxmlqNptksdpejebR5iSfI4m4S4W16boLiaao6m5fJ9jubwLkaco8m8S5WnaPZunuOp4j6b5Lnac4SA0PAGlgP4wEwFwGkGcIMCcCpCnCCxiA8NYAAmMJfkSbh" +; "FCcFpFnGDBnBqRpUhuEwTDeZ5lHCfw6HIQxLCaAxygyJwqgGcATE4FA6hWY4tjEAAQBAgIA==") oPropertiesList:SetProperty("BackColorHeader",0x4c6c6c6) oPropertiesList:SetProperty("SelBackColor",0x4000000) oPropertiesList:SetProperty("SelForeColor",AutomationTranslateColor( GraMakeRGBColor ( { 0,0,1 } ) , .F. )) oPropertiesList:SetProperty("Background",32/*exCursorHoverColumn*/,-1) oPropertiesList:SetProperty("Background",0/*exHeaderFilterBarButton*/,0x4000000) oPropertiesList:SetProperty("Background",1/*exFooterFilterBarButton*/,0x40000ff) oPropertiesList:SetProperty("Background",70/*exCheckBoxState0*/,0x1000000) oPropertiesList:SetProperty("Background",71/*exCheckBoxState1*/,0x2000000) oPropertiesList:SetProperty("Background",72/*exCheckBoxState2*/,0x3000000) oPropertiesList:Select(oPropertiesList) oPropertiesList:Sort() oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
195 |
ImageSize property on 16 (default) (specifies the size of control' icons/images/check-boxes/radio-buttons)
|
194 |
How can I add property of button type
PROCEDURE OnModalPropertyChange(oPropertiesList,Property,Value,Cancel) DevOut( Transform(oPropertiesList:Property(),"") ) RETURN #include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:ModalPropertyChange := {|Property,Value,Cancel| OnModalPropertyChange(oPropertiesList,Property,Value,Cancel)} /*Fired when the properties browser is about to change a property's value using a modal dialog.*/ oPropertiesList:BeginUpdate() oPropertiesList:Add("Button","the button is always shown",-3/*Button*/) oPropertiesList:Add("EditButton","show on focus only",15/*EditButton*/) oPropertiesList:Add("EditPage","show on focus only",6/*EditPage*/) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
193 |
Is it possible to decode/view the control's Layout property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPrint LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Select(oPropertiesList) oPrint := CreateObject("Exontrol.Print") DevOut( oPrint:Decode64TextW(oPropertiesList:Layout()) ) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
192 |
Does your control supports scrolling by touching the screen
|
191 |
If I enabled the list filter on runtime, the user can click on [x] and close the filter text. Can I disabled this action
|
190 |
Is it possible to specify a different background/foreground color for the property from the cursor, aka hot item
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Select(oPropertiesList) oPropertiesList:SetProperty("HotBackColor",AutomationTranslateColor( GraMakeRGBColor ( { 0,0,255 } ) , .F. )) oPropertiesList:SetProperty("HotForeColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,255,255 } ) , .F. )) oPropertiesList:SetProperty("SelBackColor",AutomationTranslateColor( GraMakeRGBColor ( { 0,0,128 } ) , .F. )) oPropertiesList:SetProperty("SelForeColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,255,255 } ) , .F. )) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
189 |
My development environment does not have any Object,GetOcx,DefaultDispatch,GetControlUnknown,nativeObject, ... property, is there any alternative I can pass the component to PrintExt so I can get printed
|
188 |
How can I display checkboxes for flags values only
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:AllowMultipleValuesOnEnum := .T. oProperty := oPropertiesList:Add("Nextevent",81,8/*EditEnum*/) oProperty:AddValue(1,"Option A") oProperty:AddValue(2,"Option B") oProperty:AddValue(3,"Option C") oProperty:AddValue(4,"Option D") oProperty:AddValue(16,"Flag A") oProperty:AddValue(32,"Flag B") oProperty:AddValue(64,"Flag C") oProperty:AddValue(128,"Flag D") oPropertiesList:Refresh() oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
187 |
Is is possible to display a checkbox on ENUM types
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:AllowMultipleValuesOnEnum := .T. oProperty := oPropertiesList:Add("Nextevent",5,8/*EditEnum*/) oProperty:AddValue(1,"Flag A") oProperty:AddValue(2,"Flag B") oProperty:AddValue(4,"Flag C") oProperty:AddValue(8,"Flag D") oProperty:AddValue(16,"Flag E") oPropertiesList:Refresh() oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
186 |
Is it possible to display the full path in the EditFolder editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oProperty := oPropertiesList:Add("Folder","c:\",18/*EditFolder*/) oProperty:SetProperty("Option",12/*exEditFolderTitle*/,"Current Folder") oProperty:SetProperty("Option",15/*exEditFolderShowEditBox*/,.F.) oProperty:SetProperty("Option",17/*exEditFolderShowPath*/,.T.) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
185 |
How can I include a "New Folder" button so user can create new folders when using the EditFolder form
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Folder","",18/*EditFolder*/):SetProperty("Option",16/*exEditFolderAllowNewFolder*/,.T.) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
184 |
Is it possible to show always the selection in the files/folders list in the EditFolder dialog
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Folder","",18/*EditFolder*/):SetProperty("Option",14/*exEditFolderNewUI*/,.T.) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
183 |
How can I hide the editbox in the EditFolder editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Folder","",18/*EditFolder*/):SetProperty("Option",15/*exEditFolderShowEditBox*/,.F.) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
182 |
How can I include the files in the in the EditFolder editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Folder","",18/*EditFolder*/):SetProperty("Option",13/*exEditFolderIncludeFiles*/,.T.) oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
181 |
Is it possible to change the caption in the EditFolder editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Folder","",18/*EditFolder*/):SetProperty("Option",12/*exEditFolderTitle*/,"Select a directory...") oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
180 |
Is it possible to filter for properties that contains a specified text
|
179 |
How can I filter the properties at runtime
|
178 |
Is it possible to change the caption being displayed in the filter bar
|
177 |
How can I enable the filter-prompt feature
|
176 |
How do I specify the height of the control's header bar
|
175 |
Is it possible to display a checkbox for ENUM types that allow BIT combinations
|
174 |
Can I add different EditFile entries with different filters
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Text File","text.txt",17/*EditFile*/):SetProperty("Option",9/*exEditFileFilter*/,"Text Files (*.txt)|*.txt") oPropertiesList:Add("INI File","text.ini",17/*EditFile*/):SetProperty("Option",9/*exEditFileFilter*/,"INI Files (*.ini)|*.ini") oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
173 |
Is it possible to expand items/entries when user types for searching properties
|
172 |
Is it possible to show ticks on the slider control
|
171 |
How can I edit a number between a range or interval
|
170 |
How can I edit a number between a range or interval
|
169 |
How can I add a slider or track bar editor, with a fixed size
|
168 |
How can I add a slider or track bar editor, so it covers half of the cell
|
167 |
How can I add a slider or track bar editor, so it covers the full cell
|
166 |
How can I add a spin editor within a range or interval of float numbers
|
165 |
How can I add a spin editor within a range or interval of numbers
|
164 |
Can I use your HTML format to display a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty,oProperty1 LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:VisualAppearance():Add(1,"c:\exontrol\images\normal.ebn") oPropertiesList:SetProperty("SelBackColor",0x1000000) oPropertiesList:SetProperty("SelForeColor",AutomationTranslateColor( GraMakeRGBColor ( { 0,0,0 } ) , .F. )) oPropertiesList:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") oPropertiesList:SetProperty("ColumnWidth",0,304) oProperty := oPropertiesList:Add("I1","link1",1/*Edit*/) oProperty:HTMLName := "<br>text<off 4>subscript</off><off -4>sup<off -4>ers</off>cript</off> icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor>" oProperty:Height := 128 oProperty1 := oPropertiesList:Add("I2","link1",1/*Edit*/) oProperty1:HTMLName := "<sha ;;0>antialiasing</sha> format" oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
163 |
How can I display I picture to a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty,oProperty1 LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:SetProperty("HTMLPicture","pic1","c:\exontrol\images\zipdisk.gif") oPropertiesList:SetProperty("HTMLPicture","pic2","c:\exontrol\images\auction.gif") oProperty := oPropertiesList:Add("Picture 1","link1",1/*Edit*/) oProperty:HTMLName := "<img>pic1</img> <b>1</b>" oProperty:Height := 48 oPropertiesList:Add("Edit","text",1/*Edit*/) oProperty1 := oPropertiesList:Add("Picture 2","link2",1/*Edit*/) oProperty1:HTMLName := "<img>pic2</img> <b>2</b>" oProperty1:Height := 32 oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
162 |
How do I display an icon to a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:DefaultItemHeight := 18 oPropertiesList:BeginUpdate() oPropertiesList:Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=") oPropertiesList:Add("I1","link1",1/*Edit*/):HTMLName := "<img>1</img> <b>1</b>" oPropertiesList:Add("Edit","text",1/*Edit*/) oPropertiesList:Add("I2","link1",1/*Edit*/):HTMLName := "<img>2</img> <b>2</b>" oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
161 |
How do I specify the height of a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty,oProperty1 LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:SetProperty("HTMLPicture","pic1","c:\exontrol\images\zipdisk.gif") oPropertiesList:SetProperty("HTMLPicture","pic2","c:\exontrol\images\auction.gif") oProperty := oPropertiesList:Add("Picture 1","link1",1/*Edit*/) oProperty:HTMLName := "<img>pic1</img> <b>1</b>" oProperty:Height := 48 oPropertiesList:Add("Edit","text",1/*Edit*/) oProperty1 := oPropertiesList:Add("Picture 2","link2",1/*Edit*/) oProperty1:HTMLName := "<img>pic2</img> <b>2</b>" oProperty1:Height := 48 oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
160 |
How do I edit a float number
|
159 |
How do I change the step for a spin
|
158 |
How do I sort the items in a drop down editor
|
157 |
How do I specify the number of visible items in a drop down editor
|
156 |
How do I bold a property
|
155 |
How do I disable or enable a property
|
154 |
How do I specify a tooltip for a property
|
153 |
How do I specify the masking character
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oProperty LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oProperty := oPropertiesList:Add("Edit",12,1/*Edit*/) oProperty:Mask := "##" oProperty:MaskChar := 48 oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
152 |
How do I specify a mask
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit",12,1/*Edit*/):Mask := "##" oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
151 |
How do I edit a number
|
150 |
How do I change the foreground color for a cell
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("CellForeColor",0,AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
149 |
How do I change the foreground color for a cell
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("CellForeColor",1,AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
148 |
How do I change the background color for a cell
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("CellBackColor",0,AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
147 |
How do I change the background color for a cell
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("CellBackColor",1,AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
146 |
How do I change the background color for a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("BackColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
145 |
How do I change the foreground color for a property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("Edit","text",1/*Edit*/):SetProperty("ForeColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,0,0 } ) , .F. )) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
144 |
How do I associate an extra data to a property
|
143 |
How do I get the caption of the property, as it is displayed in the browser
|
142 |
How do I get the value of the property
|
141 |
How do I make a property read only
|
140 |
How do I specify a description for a property
|
139 |
How do I get the identifer of the property
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:Add("Edit","text",1/*Edit*/):ID := 12345 oPropertiesList:Add(oPropertiesList:Property("Edit"):ID(),"",-1/*Label*/):Bold := .T. oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
138 |
How do I get the type of the property
|
137 |
How do I get the name of the property
|
136 |
How do I select a folder
|
135 |
How do I select a file
|
134 |
How do I slider or trackbar editor
|
133 |
How do I add a button
|
132 |
How do I add a check box editor
|
131 |
How do I add a color editor
|
130 |
How do I add a new object properties inside the control
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:BeginUpdate() oPropertiesList:Add("MySelf 1",oPropertiesList,12/*EditObject*/) oPropertiesList:Add("MySelf 2",oPropertiesList,12/*EditObject*/) oPropertiesList:EndUpdate() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
129 |
How do I add a new objects inside the control
|
128 |
How do I add a drop down editor with some predefined values
|
127 |
How do I add a password editor
|
126 |
How do I add a date picker editor
|
125 |
How do I add a drop down editor with some predefined values
|
124 |
How do I add a boolean editor
|
123 |
How do I add a button or a page editor
|
122 |
How do I add a picture editor
|
121 |
How do I add a font editor
|
120 |
How do I add a font editor
|
119 |
How do I add a color editor
|
118 |
How do I add an edit
|
117 |
How do I specify the character sets being included in the font editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",7/*exFontCharSet*/,"0") oPropertiesList:Add("Font","Arial",4/*EditFontName*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
116 |
How do I show or hide the bottom scroll bar in the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",6/*exDateShowScroll*/,.F.) oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
115 |
How do highlight the "Today" date is the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",5/*exDateMarkToday*/,.T.) oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
114 |
How do I show or hide the "Today" button is the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",4/*exDateShowTodayButton*/,.F.) oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
113 |
How to specify the first day of the week in the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",3/*exDateFirstWeekDay*/,1) oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
112 |
How to specifies the shortcut for the weekdays to be displayed in the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",2/*exDateWeekDays*/,"Du Lu Ma Mi Jo Vi Si") oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
111 |
How can I change the name of the months in the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",1/*exDateMonths*/,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre") oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
110 |
Can I change the "Today" caption being displayed in the drop down date picker calendar editor
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("Option",0/*exDateTodayCaption*/,"Azi") oPropertiesList:Add("Date","1/1/2001",9/*EditDate*/) oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
109 |
How can I open the drop down editors, using a different than F4 key
|
108 |
How do I display the color properties as RGB
|
107 |
How do I get the list of properties being listed as a string
|
106 |
How can I display a picture to a property
|
105 |
How do I show or hide the properties with multiple parameters
|
104 |
How can I add a hyperlink or anchor element
|
103 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("SelBackColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,128,255 } ) , .F. )) oPropertiesList:SetProperty("FormatAnchor",.F.,"<b><u><fgcolor=880000> </fgcolor></u></b>") oPropertiesList:Add("Link 1","link1",1/*Edit*/):HTMLName := "Link <a1>one</s>" oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
102 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:SetProperty("SelBackColor",AutomationTranslateColor( GraMakeRGBColor ( { 255,128,255 } ) , .F. )) oPropertiesList:SetProperty("FormatAnchor",.T.,"<b><u> </u></b>") oPropertiesList:Add("Link 1","link1",1/*Edit*/):HTMLName := "Link <a1>one</s>" oPropertiesList:Refresh() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |
101 |
How do I specify the indentation of the child items relative to their parents
#include "AppEvent.ch" #include "ActiveX.ch" PROCEDURE Main LOCAL oForm LOCAL nEvent := 0, mp1 := NIL, mp2 := NIL, oXbp := NIL LOCAL oPropertiesList oForm := XbpDialog():new( AppDesktop() ) oForm:drawingArea:clipChildren := .T. oForm:create( ,,{100,100}, {640,480},, .F. ) oForm:close := {|| PostAppEvent( xbeP_Quit )} oPropertiesList := XbpActiveXControl():new( oForm:drawingArea ) oPropertiesList:CLSID := "Exontrol.PropertiesList.1" /*{A703DF80-DFF3-48D7-A4C7-47CF6A48425C}*/ oPropertiesList:create(,, {10,60},{610,370} ) oPropertiesList:AutoIndent := .F. oPropertiesList:Indent := 8 oPropertiesList:Select(oPropertiesList) oPropertiesList:ExpandAll() oForm:Show() DO WHILE nEvent != xbeP_Quit nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO RETURN |