MapInfo Pro Developers User Group

 View Only
  • 1.  Customize interface MAPBASIC 2023

    Posted 6 days ago
    Customize interface.
    
    How can I bold the text of the DROPMENU?
    

    And in the top bar can I deactivate the button to customize the bar?



    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------


  • 2.  RE: Customize interface MAPBASIC 2023

    Employee
    Posted 4 days ago

    Hi Mayca

    In the file IMapInfoPro.def from the MapBasic installation folder, you can find several methods for the QAT. Look for MapInfo.Types.IRibbonQuickAccessToolbar.

    I think you need to use SetQATEnableMoreCommands to disable the QAT.

    I don't think you can make the font for the control bold. Your controls look disabled though - could that be the issue you are trying to solve?

    If you want to highlight a specific dropdown menu, I would create it with large icons.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 3.  RE: Customize interface MAPBASIC 2023

    Posted 4 days ago
    Can you give me an example of implementation MapInfo.Types.IRibbonQuickAccessToolbar?


    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------



  • 4.  RE: Customize interface MAPBASIC 2023

    Employee
    Posted 3 days ago

    If you do it through MapBasic, here is an example:

    Dim	theMapInfoApplication As This,
    	theQAT As This
    
    	theMapInfoApplication	= SystemInfo(SYS_INFO_IMAPINFOAPPLICATION)
    	theQAT				= GetMIProQAT(theMapInfoApplication)
    
    	Call SetQATEnableMoreCommands(theQAT, FALSE)
    	Call SetQATShowCustomizeRibbon(theQAT, FALSE)

    I have also attached a small sample application that allows you to turn the More Commands on/off.

    You can do this from the context menu of the tool in the Tools window.

    Do remember to include IMapInfoPro.del in your MapBasic source code file.


    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 5.  RE: Customize interface MAPBASIC 2023

    Posted 2 days ago

    Not working



    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------



  • 6.  RE: Customize interface MAPBASIC 2023

    Employee
    Posted yesterday

    You can't remove the small menu completely but when you click on it, you should see that the options More Commands and generally the options to customize the ribbon have been removed.

    You can also hide the QAT complete if that's helpful.



    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------



  • 7.  RE: Customize interface MAPBASIC 2023

    Posted yesterday

    Ok. Thanks



    ------------------------------
    Mayca González Pérez
    COMUNIDAD. AUT. REG MURCIA
    ------------------------------