Hi Paul,
It would be very nice if you could store all the control captions in a resource. A tool to edit the stringtable would be necessary also so that messages used internally could be added to the stringtable and edited. Also wrappers to use with the resources.
Like this I would have one location where I would store all text including captions of controls. So when I would like to change to a diffrent language I would just have to edit one file.
I have not thought this threw in detail but I guess you get my drift. I have seen something like it in a different tool called Windev (french). In this tool you select languages in the project properties and then you have the option to add as many captions as selected languages.
Another nice thing to think about is a control property called 'Tooltip' and yes - you add some text in this property and that will show up as the the tooltip.
It would be nice if one could select a helpfile in the project settings and then link each control to a help context id so that when the user presses F1 the helpfile is opened and positioned to the correct context.
Last, it is possible to set which command button is cancel but I would also like to be able to set which button is default. Could this be added as a property? Imagine a form with two buttons. One set as cancel the other as default. Pressing enter would trigger the default while esc would trigger cancel.....
Regards,
Gian
PS. I have another suggestion.... I would like to have a countdown command button. This would be a button that counted down a set amount of seconds. If I set the countdown property to 30 then when the form is displayed the control will countdown for 30 seconds and then "be clicked" automatically. I should be able to choose if countdown should show, if yes a button with caption OK would be OK (30) etc.
Quote from: Gian KolbjornsenIt would be very nice if you could store all the control captions in a resource. A tool to edit the stringtable would be necessary also so that messages used internally could be added to the stringtable and edited. Also wrappers to use with the resources.
Great idea. :) Actually, it probably would not be too much trouble to implement. I will take note of it for a future FireFly update.
QuoteAnother nice thing to think about is a control property called 'Tooltip' and yes - you add some text in this property and that will show up as the the tooltip.
Noted for the wishlist.
QuoteIt would be nice if one could select a helpfile in the project settings and then link each control to a help context id so that when the user presses F1 the helpfile is opened and positioned to the correct context.
Also noted for the wishlist.
QuoteLast, it is possible to set which command button is cancel but I would also like to be able to set which button is default. Could this be added as a property? Imagine a form with two buttons. One set as cancel the other as default. Pressing enter would trigger the default while esc would trigger cancel.....
Check the "WindowStyles" property. When you check the style "BS_DEFPUSHBUTTON" then the Command Button will act as the defautl button for the Form.
QuoteI would like to have a countdown command button. This would be a button that counted down a set amount of seconds. If I set the countdown property to 30 then when the form is displayed the control will countdown for 30 seconds and then "be clicked" automatically. I should be able to choose if countdown should show, if yes a button with caption OK would be OK (30) etc.
I would prefer that something like this either be implemented directly in code or via a 3rd party custom control.
:)
Thanks!
QuoteCheck the "WindowStyles" property. When you check the style "BS_DEFPUSHBUTTON" then the Command Button will act as the defautl button for the Form.
About the default, it would be nice to have it available in the same way as the cancel property.
Gian