TAB inside PAGE is it possible?

121 views
Skip to first unread message

José Quintas

unread,
May 16, 2025, 11:39:20 PM5/16/25
to Harbour Minigui

tab.png

José M. C. Quintas

Grigory Filatov

unread,
May 17, 2025, 5:47:54 AM5/17/25
to Harbour Minigui
Hi Jose,

> TAB inside PAGE is it possible?
No, it is not possible (as shown in your picture).

But we have a clever workaround that uses the TBROWSE control as the sheet container.

Please see the following images from the example in the MiniGUI distribution.

sheet1.png

sheet2.png

and so on for next sheets.

Hope this is useful.

Grigory

суббота, 17 мая 2025 г. в 05:39:20 UTC+2, jmcqu...@gmail.com:

José Quintas

unread,
May 17, 2025, 5:03:07 PM5/17/25
to Harbour Minigui
Thanks
For the work I want to do, window panel will be better than tab.

José M. C. Quintas

José Quintas

unread,
May 18, 2025, 4:53:19 AM5/18/25
to Harbour Minigui
Could you help me ?
When several names (10), right arrow do not update browse, but left arrow ok.

José M. C. Quintas

tabintab.prg

José Quintas

unread,
May 18, 2025, 4:58:40 AM5/18/25
to Harbour Minigui
forgot this function:
STATIC FUNCTION ze_name( cTipo )

   STATIC nIndex := 0

   nIndex += 1

   RETURN cTipo + Ltrim( Str( nIndex ) )

José M. C. Quintas

José Quintas

unread,
May 18, 2025, 5:45:34 AM5/18/25
to Harbour Minigui
And how to get the object?

   oBrw := GetProperty( xDlg, xBrowse )

José M. C. Quintas

Grigory Filatov

unread,
May 18, 2025, 6:51:53 AM5/18/25
to Harbour Minigui
> how to get the object?

FUNCTION GetBrowseObj( cBrw, cParent )          

  LOCAL oBrw, i

  If ( i := GetControlIndex( cBrw, cParent ) ) > 0
     oBrw := _HMG_aControlIds [ i ]
  EndIf

RETURN oBrw

воскресенье, 18 мая 2025 г. в 11:45:34 UTC+2, jmcqu...@gmail.com:

José Quintas

unread,
May 19, 2025, 8:28:19 AM5/19/25
to Harbour Minigui
my test
dembutton.prg compiled alone
demobutton.png

demobutton.prg compiled together with demo.prg, inside a tabpage (simulated by browse)
demo.png

same with demobrowse10.prg
browse10.png

Changed demobrowse10.prg partial because fake oop is bad to do this.
On image, 3 level of tabs.

Note: need extra code for 2 level of tabs.(browse)

José M. C. Quintas
demo.zip
Reply all
Reply to author
Forward
0 new messages