Welcome! Log In Create A New Profile

Advanced

economy

Posted by kiolb 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
avatar economy
February 07, 2010 04:32PM
Example 2.2 uses setfocus and clear and the review of chapter 2 refers this this to user interface factor of economy.

But you still need to click the transfer button. How about setting the buttons default value to true. This will enable you to use enter on the keyboard.
(Is this also a factor of economy? Lets see if this will be covered later in the book.)
Re: economy
February 07, 2010 04:53PM
Not quite sure I understand your question/comment. Would you mind rephrasing it?

PS: You can use your keyboard in all applications, you just need to set your tab order so it flows correctly. What is a buttons default value?
avatar Re: economy
February 08, 2010 11:53AM
Quote
SkillS4eva
What is a buttons default value?

There ia a Default property for each button. If set to True, its OnClick event will run when enter on the keyboard is pressed.
If more than one is set to True, the first in the tab order is used.

PS:
It does not work if SpinEdit controls are on the form :-(
Re: economy
February 09, 2010 04:31PM
kiolb Wrote:
-------------------------------------------------------
> There ia a Default property for each button. If
> set to True, its OnClick event will run when enter
> on the keyboard is pressed.
> If more than one is set to True, the first in the
> tab order is used.
>
> PS:
> It does not work if SpinEdit controls are on the
> form :-(

Odd, in Delphi 7 you don't need a button's default value to be set to use the enter key or space key on the keyboard. It also works if there is a SpinEdit on the page.
Something else you could do, just for fun, is set btnXxxXXXX.Click; in the procedure FormCreate smiling smiley Now as soon as the application is open the button is click smiling bouncing smiley

I don't think 2 or 3 more steps will effect your 'economy' factor in the exam. Don't stress about it.
Sorry, only registered users may post in this forum.

Click here to login