Re: Xcontrols: request for extension

new topic     » goto parent     » topic index » view thread      » older message » newer message

>This message is destined to Don Phillips, creator of Xcontrols.
>
>Hi Don,
>
>i just took time to play with your brainchild. Very good job!
>
>So good that i would be glad to see a small(?) extension to geometry.ew
>
>You can define fields in a status bar with:
>setSubFields(StatusBar, {.5, .1, .2, .2})
>and then fill those fileds with:
>setText({StatusBar,1}, "some text")
>setText({StatusBar,2}, "some more text")
>etc...
>
>Would'nt it be nice to be able to "manage" the satus bar together with its
>fields using your xcontrols?
>Maybe it's already possible right now but i cannot figure out how.
>
>Thanks in advance,
>
>Henri Goffin

Thats a very neat idea.  You are correct in assuming that in its current 
incarnation, it is not possible.  The Geometry control revolves around 
Win32Lib's setRect procedure, and since the divisions of a status bar 
control are not in and of themselves Windows with distinct hWnds, I have no 
way at the present to incorporate that sort of feature into Geometry.

Actually, to tell the truth, I bet I could find a way around that 
limitation.  However, I do not think it appropriate to add this to Geometry 
for the simple fact that it was designed to help manage controls and not 
parts of a control.  Still, it gives me something to think about...

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu