- im1.jpg (54.46 KiB) Viewed 11020 times
Two column popup menu
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Two column popup menu
This popup menu is getting long. Is their a way to make it two columns.
Re: Two column popup menu
Cliff,
How about a DCSUBMENU of that PARENT menu ?
How about a DCSUBMENU of that PARENT menu ?
Re: Two column popup menu
i don´t think Class FROM XbpMenu() can do it.Cliff Wiernik wrote:This popup menu is getting long. Is their a way to make it two columns.
event if you grow up Caption to hold 2 or more Items it is 1 Columne,
so Shortcut will react on 1st only.
you can use a SubMenu, activate on 1st Item, to show it "beside" your Pop-up ...
XbpMenu() or XbpListBox() have 1 Columne only, what you need is a ListView.
i´m writing a Xbase++ "Wrapper" Class for a "native" ListView were you can
use o:SetView(LVS_SMALLICON ) or o:SetView(LVS_LIST) to get a horizontal
Scrollbar and Shortcut like in Explorer.
... and you can add a Image as "Watermark" in Background of a ListView
greetings by OHR
Jimmy
Jimmy
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Two column popup menu
Would be interested in seeing it when you have it ready.
Clif.
Clif.
Re: Two column popup menu
if you like more about "native" Controls for Xbase++ using ot4xb goto Pablo´s Newsgroup or Website http://news.xbwin.com/newsgroups.php?group=ot4xb.publicCliff Wiernik wrote:Would be interested in seeing it when you have it ready.
based on ListView found in this Newsgroup
where i found Source from "native" Listview Control for Xbase++playing with the listview control
ot4xb.public
30. Mai 2011
Pablo Botella
i try to Ownerdraw ListView using LVS_OWNERDRAWFIXED
it work now with Sample*** but i still have Problem with my Wrapper
to implement Xbase++ Syntax like o:measureItem or o:drawItem
it work well as Methode "inside" my Wrapper Class but when i transfer Code
into Function "outside" i still have a repaint Problem ... can´t see item / icons ...
so it is still some work do do to make it "ready" to use Xbase++ Syntax.
***working Sample using Pablo´s Source "Zebra" Style
- Attachments
-
- testdir.zip
- native ListView Demo using "Zebra" Style CustumDraw in 1st Window
while 2nd ListView use OwnerDraw with Backgound Image - (296.33 KiB) Downloaded 802 times
greetings by OHR
Jimmy
Jimmy
Re: Two column popup menu
Cliff -
Use the COLUMNBREAK clause of the DCMENUITEM command.
Roger
Use the COLUMNBREAK clause of the DCMENUITEM command.
Roger
The eXpress train is coming - and it has more cars.