PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Exploration Gaming on September 08, 2010, 08:18:56 PM

Title: Controls & Timers..
Post by: Exploration Gaming on September 08, 2010, 08:18:56 PM
A few suggestions..

As I convert old VB forms to FF I can't quickly see some of the global properties.. (particularly Visible / Enabled) As I view a form on my laptop, I create it in FF3 on my desktop.

I can quickly set the caption control, but I can't see whats enabled/visible at startup quickly in FF. These commands are tucked away under Windows Styles.. Any particular reason why? Can't it just be a property from the UI perspective?

With respect to Timers..

I noticed there isn't an Enable property for timers.. I have a few forms where the timers sit dormant until an action takes place.. How can I default a Timer to disabled on form startup?

Tab Control..

I noticed the Tab Control has a similar bug as the justification of labels. I can't make the tabs appear in the lower left going upward.


Title: Re: Controls & Timers..
Post by: Rolf Brandt on September 09, 2010, 05:16:00 AM
QuoteWith respect to Timers..

I noticed there isn't an Enable property for timers.. I have a few forms where the timers sit dormant until an action takes place.. How can I default a Timer to disabled on form startup?

http://www.planetsquires.com/protect/forum/index.php?topic=1391.msg11672#msg11672 (http://www.planetsquires.com/protect/forum/index.php?topic=1391.msg11672#msg11672)
Title: Re: Controls & Timers..
Post by: Paul Squires on September 09, 2010, 09:05:44 AM
Quote from: Exploration Gaming  on September 08, 2010, 08:18:56 PM
I can quickly set the caption control, but I can't see whats enabled/visible at startup quickly in FF. These commands are tucked away under Windows Styles.. Any particular reason why? Can't it just be a property from the UI perspective?
I know exactly what you mean and I went back and forth during the development of FF on whether I would separate out certain properties from the WindowStyles. I nthe end, I decided that it would be best to keep them together. It promotes a better understanding of winapi concepts.

QuoteWith respect to Timers..
There is a couple of ways to handle this and Rolf has linked to one in his reply post.

Quote
I noticed the Tab Control has a similar bug as the justification of labels. I can't make the tabs appear in the lower left going upward.
Thanks, I'll check this out. Can't say that I have ever tested this.  :)



[/quote]
Title: Re: Controls & Timers..
Post by: Exploration Gaming on September 09, 2010, 07:00:19 PM
Ohhh... Timers... (bad)

I was hoping it would behave like VB. Holding the instance values so I wouldn't have to hardcode them.. No worries, I have create my own PowerBASIC timer module so I won't need this one..