Main Menu ToolBar

This forum is for eXpress++ general support.
Message
Author
User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Main Menu ToolBar

#1 Post by unixkd »

How can I place Toolbar below the main menu of my application with ICONs

Thanks

Joseph

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Main Menu ToolBar

#2 Post 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
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Main Menu ToolBar

#3 Post by rdonnay »

@ DCSTATUSBAR is what you need.

You will see a sample by running XDEMO.
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: Main Menu ToolBar

#4 Post 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

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Main Menu ToolBar

#5 Post 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.
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: Main Menu ToolBar

#6 Post by unixkd »

Hi Roger

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

Joseph

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Main Menu ToolBar

#7 Post by rdonnay »

Here you go. If you have any questions about this, don't hesitate to ask.
Attachments
Navigate.zip
(277.95 KiB) Downloaded 968 times
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: Main Menu ToolBar

#8 Post 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

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Main Menu ToolBar

#9 Post by rdonnay »

This should do it for you.
Attachments
navigate.zip
(278.33 KiB) Downloaded 920 times
The eXpress train is coming - and it has more cars.

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: Main Menu ToolBar

#10 Post by unixkd »

Hi Roger

The STATIC variable snNavigate is not visible in other .PRGs

Thanks

Joseph

Post Reply