General Help regarding HMG, Compilation, Linking, Samples
Moderator: Rathinagiri
-
AUGE_OHR
- Posts: 2108
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
hi
in HBFM i can open many PAGE on TAB.
i want to "save" PAGE an "open" it again when start.
but how do i found out how many PAGE a TAB have

have fun
Jimmy
-
gfilatov
- Posts: 1101
- Joined: Fri Aug 01, 2008 5:42 am
- Location: Ukraine
-
Contact:
Post
by gfilatov »
AUGE_OHR wrote: ↑Mon Mar 02, 2020 5:48 am
hi
...
but how do i found out how many PAGE a TAB have
Hi,
Try the following simple function
Code: Select all
*------------------------------------------------------------------------------*
Function _GetTabPageCount ( TabName , ParentForm )
*------------------------------------------------------------------------------*
Local i
i := GetControlIndex ( TabName , ParentForm )
Return HMG_LEN ( _HMG_SYSDATA [ 7 ] [i] )
HTH

Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
-
AUGE_OHR
- Posts: 2108
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Post
by AUGE_OHR »
gfilatov wrote: ↑Mon Mar 02, 2020 8:33 am
Try the following simple function
THX
have fun
Jimmy