PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

do controls have properties?

I notice that to get the text of a button, you have to use GetText. doesn't the button have properties like - button.text?
Properties are not part of controls in Windows. Windows uses API function calls to set/get text, colors, etc...

When you see properties on controls, it's because they have been programmed this way within the language your are using. It is always done in Object-Oriented languages.

PPL wasn't an OO language when I started working on the visual controls. I might write OO wrappers around controls in a near future. But it's a big job.
Hi,

I must say I do like the idea of accessing the controls via properties ala VB. I know it's not really needed but it's so quick and easy in use...
:D