Sorry the previous message should have read:-
The following code to turn on the NumKey works under previous Windows versions but not under Windows XP. Any suggestions?
procedure TfrmMain.FormCreate(Sender: TObject);
var
numkey: TKeyboardState;
begin
//set Num Lock on...
You could try using the following WindowMessage routines:-
speedbutton1.Perform(WM_LBUTTONDOWN, 0, 0);
speedbutton1.Perform(WM_LBUTTONUP, 0, 0);
which will perform a virtual keypress.
I am working on a program that has an option to print a hard copy of lists of currency. The columns are printed left aligned but I need them printed right aligned. Any ideas would be welcome.
Part of a program I'm developing works out the tax from an amount input by the user. The results are then placed in 3 ListBoxes, Amount, Tax and Amount+Tax. I would like to print out the results of these ListBoxes on one page in 3 adjacent columns, preferably with their corresponding 3 headings...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.