Custom Control 2nd

Started by Christian Weilguny, September 07, 2010, 06:05:43 AM

Previous topic - Next topic

Christian Weilguny

Ok, thanks Paul, I've created the props on the frame-window.

Now, there is a little thing, I can't pass text from the property-window in FF.
If I set the text in code, it will appear, if I set it in the property-window, it doesn't.

I've seen, the FF_SetText uses the "SetWindowText", may be, this is different to the setting from property-window?

Christian

Paul Squires

Unfortunately, at this time you will need to set the text for your control in the WM_CREATE message handler for the Form that your control is on. FF3 does not code generate the "Text" property for External controls other than the ones that ship with FF3 itself (ie. I have hardcoded the code generation for certain properties of those FF3 shipped controls).
Paul Squires
PlanetSquires Software

Christian Weilguny

Ok, for the textbox I have no solution, but the label works with the "Tag2"-property.
Assigned in the "CTLCOLORSTATIC"-message :).

Christian