Is there any way to fix the position of fixed buttonpads in the top toolbar in MapBas

المشرف العام

Administrator
طاقم الإدارة
Here is my code to create some buttons:

Include "icons.def"Declare Sub MainDeclare Sub button_promptSub Main Create ButtonPad "Providers" As PushButton Icon MI_ICON_ZOOM_QUESTION Calling button_prompt HelpMsg "client"fixedAlter ButtonPad "Providers" Add Separator Add PushButton Icon MI_ICON_GRABBER Calling button_prompt HelpMsg "client2"fixedCreate ButtonPad "SiteType" As PushButton Icon MI_ICON_ZOOM_QUESTION Calling button_prompt HelpMsg "site1"fixedAlter ButtonPad "SiteType" Add Separator Add PushButton Icon MI_ICON_GRABBER Calling button_prompt HelpMsg "site2"fixedAlter ButtonPad "SiteType" Add Separator Add PushButton Icon MI_ICON_GRABBER Calling button_prompt HelpMsg "site3"fixed End Sub Sub button_prompt End SubThis code does bring the buttons but it's kind of crazy that it is scattered.



أكثر...
 
أعلى