ThemedLinkMenu Subitems - how to display them


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
I give, is there a trick to getting subitems to show? Just like Sub1 Sub2 in the sample for the menu item "Link Menu Styles"?

I have mine set like this as far as I can tell and the "parent" doesnt expand to show the sub items.

Thanks.

Keith Chisarik

Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
follow up:

How do you set what control "wins" the docking war? I have a panel that is docked left and it takes the whole left of the MDI form, my gradientheader is "top" but only until it hits the panel, looking quite silly Tongue

Keith Chisarik

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I give, is there a trick to getting subitems to show? Just like Sub1 Sub2 in the sample for the menu item "Link Menu Styles"?

This will only appear when you are using the ClickAndStick behavior on the control...it will not work when using Standard links.

How do you set what control "wins" the docking war?

Send to back and bring to front will arrange the z-order of the docked controls.

Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Two easy fixes, awesome! My app is really starting to look nice Smile

Keith Chisarik
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Sweeet....FYI, I fixed all of the rendering issues on the ThemedContainer that we ran into (and more)...and the scroll works smoothly now as well in addition to the snap. Smile  I basically reworked the way that the control renders to make it a little more "update to date" in regards to techniques.
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Great!

How do I get a ThemedLinkMenu to scroll if there are more linkMenuItems than can be displayed?

I am using it to link error records (how original) and it wont happen often, but it will happen that there could be many.

None of the scrolling properties seem to work.

Down the road I will probably make that feature a grid to allow data entry to "fix" the errors but for now if I can get the menu to scroll I have it done.

Thanks!

Keith Chisarik

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
How do I get a ThemedLinkMenu to scroll if there are more linkMenuItems than can be displayed?

Actually, at the moment, you don't.  This is actaully something that we plan to add.  We use this control a lot within our medical application and to date...we have never ended up needing a scroll.  But I can see how this could come up and it is actually something we will add before long.

Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
OK, if you add that at a later time cool, for the time being I just made the control auto-expand based on item height and count.

Is there a way to make a "Click and Stick" menu item (required for subitems) "unstick" after a short period of time? When you click an item you have to click something else for it to become clickable again. Also, are there any known issues with having blank items added just to preserve space for other controls? I have a linkmenu where one item requires to know an order number, so I added a balnk menu item and tossed a textbox control in its space, works just like I want and looks nice but I dont want to shoot myself in the foot.

Keith Chisarik

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Is there a way to make a "Click and Stick" menu item (required for subitems) "unstick" after a short period of time?

I don't guess I totally got what you meant here...I suppose you could always have a timer that is started when clicked and then removes the selection when the timer fires...is that what you mean?

I have a linkmenu where one item requires to know an order number, so I added a balnk menu item and tossed a textbox control in its space, works just like I want and looks nice but I dont want to shoot myself in the foot.

I think that you should be fine if it is working for you.  As long as you keep the z-order stuff straight I don't think that you will have an issue...until one comes up Tongue

Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Handling when to call ClearActiveItem() on the linkmenu did the trick, thanks.

Keith Chisarik
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search