PAGE on TAB ...

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2108
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

PAGE on TAB ...

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 :idea:
have fun
Jimmy
User avatar
gfilatov
Posts: 1101
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: PAGE on TAB ...

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 :idea:
Hi,

Try the following simple function :arrow:

Code: Select all

*------------------------------------------------------------------------------*
Function _GetTabPageCount ( TabName , ParentForm )
*------------------------------------------------------------------------------*
Local i

	i := GetControlIndex ( TabName , ParentForm )

Return HMG_LEN ( _HMG_SYSDATA [  7 ] [i] )

HTH :idea:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
AUGE_OHR
Posts: 2108
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: PAGE on TAB ...

Post by AUGE_OHR »

gfilatov wrote: Mon Mar 02, 2020 8:33 am Try the following simple function :arrow:
THX
have fun
Jimmy
Post Reply