Page 1 of 2

Main Menu ToolBar

Posted: Wed Dec 14, 2011 3:17 pm
by unixkd
How can I place Toolbar below the main menu of my application with ICONs

Thanks

Joseph

Re: Main Menu ToolBar

Posted: Thu Dec 15, 2011 2:43 am
by reganc
unixkd wrote:How can I place Toolbar below the main menu of my application with ICONs
Have a look at:

Xdemo ->Sample Program 4->StatusBars

Re: Main Menu ToolBar

Posted: Wed Dec 28, 2011 12:02 pm
by rdonnay
@ DCSTATUSBAR is what you need.

You will see a sample by running XDEMO.

Re: Main Menu ToolBar

Posted: Thu Jan 05, 2012 11:58 am
by unixkd
Hi Roger

How can I create a Main TOOLBAR containing Database Navigation "Up", "Next Record", Prev Record", "Bottom" in my main window that respond to table in different forms/dialogs
of my MDI application ?

Joseph

Re: Main Menu ToolBar

Posted: Thu Jan 05, 2012 3:00 pm
by rdonnay
If your child windows are running in other threads, the button activation will need to send a message to the window that is in focus.

I will write a sample program for you.

Re: Main Menu ToolBar

Posted: Thu Jan 05, 2012 3:42 pm
by unixkd
Hi Roger

Exactly. My child windows are running in a different thread. I am eagerly expect the sample program.

Joseph

Re: Main Menu ToolBar

Posted: Fri Jan 06, 2012 10:45 pm
by rdonnay
Here you go. If you have any questions about this, don't hesitate to ask.

Re: Main Menu ToolBar

Posted: Mon Jan 09, 2012 7:13 am
by unixkd
Hi Roger

Thanks alot for the sample program sent.

One more thing. How can I handle the WHEN {|| ...} of the DCADDBUTTON of the toolbar such that when the browse is at the top of the table in a particular thread, the
TOP caption is disabled.

You timely response will be greatly appreciated.

Joseph

Re: Main Menu ToolBar

Posted: Mon Jan 09, 2012 11:07 am
by rdonnay
This should do it for you.

Re: Main Menu ToolBar

Posted: Wed Jan 11, 2012 9:29 am
by unixkd
Hi Roger

The STATIC variable snNavigate is not visible in other .PRGs

Thanks

Joseph