Page 1 of 1

how to ? TABS ON MDICHILD WINDOW. SOLVED

Posted: Sun Jul 28, 2024 5:59 pm
by dagiayunus
Dear All,

How to add TABS on MDICHILD window ? I am using example mariainv for this but without success

Regards
Yunus

Re: how to ? TABS ON MDICHILD WINDOW

Posted: Sun Jul 28, 2024 6:16 pm
by Antonio Linares
Dear Yunus,

Do you mean bottom tabs or top tabs (folder alike) ?

Re: how to ? TABS ON MDICHILD WINDOW (Bottom)

Posted: Mon Jul 29, 2024 4:14 am
by dagiayunus
Dear Sir Antonio

I mean Bottom Tabs.

Regards
Yunus

Re: how to ? TABS ON MDICHILD WINDOW (Tab on Bottom) ?

Posted: Mon Jul 29, 2024 5:18 pm
by karinha
C:\FWH\SAMPLES\ALASKA.PRG

Regards, saludos.

Re: how to ? TABS ON MDICHILD WINDOW (Tab on Bottom) ?

Posted: Mon Jul 29, 2024 6:03 pm
by dagiayunus
Dear Karinha,

Thanks to pointing out me in right direction.

Regards
Yunus
karinha wrote:C:\FWH\SAMPLES\ALASKA.PRG

Regards, saludos.

Re: how to ? TABS ON MDICHILD WINDOW. SOLVED

Posted: Mon Jul 29, 2024 7:37 pm
by Antonio Linares
Dear Yunus,

samples\mariainv.prg is using a message bar on MDICHILD windows, in example:

DEFINE MSGBAR oMsgBar OF oWndItems 2007

In order to use TABS instead of MSGBAR, then you should replace the above line with:

@ 20, 0 TABS oWndItems:oBottom PROMPTS "One", "Two", "Three" OF oWndItems ACTION MsgInfo( nOption )