Topic: How to Hide About from the Beggining Form
Hi,
how is it possible to hide from the first form the "About"
Bets Regards
My Visual Database → General → How to Hide About from the Beggining Form
Hi,
how is it possible to hide from the first form the "About"
Bets Regards
Hello,
You can do it using a script:
begin
Form1.mniAbout.Visible := False;
end.
Hi, there is a bug in 1.48:
If I use the above mentionned trick to hide whether one default menu or all of them, my query for memo does not work anymore!! [ Edit--- if I put it before the SQL execution, if I put it after the SQL execute, the SQL works but the menus are not hidden]
// Display History with select in database
procedure History_OnShow (Sender: string; Action: string);
begin
History.MemoHistory.Text := SQLExecute('SELECT history FROM History WHERE id=1');
History.MemoHistory.ScrollBars := ssVertical; // The component has a single scroll bar on the right edge.
end;
Once I re-enable the menu, the memo return the result!
All code after "end." will not run
Your code should look like this:
// Display History with select in database
procedure History_OnShow (Sender: string; Action: string);
begin
History.MemoHistory.Text := SQLExecute('SELECT history FROM History WHERE id=1');
History.MemoHistory.ScrollBars := ssVertical; // The component has a single scroll bar on the right edge.
end;
begin
Form1.mniAbout.Visible := False;
end.
Thanks Dmitry, there was some kind of mess in my code... still learning
My Visual Database → General → How to Hide About from the Beggining Form
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi