Results 1 to 2 of 2
  1. #1
    zinfra is offline Novice
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    6

    ZinfColorConverter (ThemeButton tranfer)

    I post this TEST inherent in changing the theme for button commands.


    The purpose is to be able to change ONLY some parts of the Forms without touching the unaffected parts.
    Soon I would like to apply this method to other commands as well, such as acTabCtl, acListBox, etc.


    The tests I have done work well using the button “presets” proposed by MsAccess.
    It does NOT behave correctly when the paramenters of these buttons are changed, such as.
    CommandButton.HoverColor, CommandButton.PressedColor, etc.
    where the settings are NOT reported correctly.


    With MsAccess “standard” buttons (without using presets) it seems to behave well by transposing even the CommandButton.HoverColor, CommandButton.PressedColor parameters.


    If anyone thinks this Example is interesting they can use it without any problem.
    And maybe you can find some errors or possible improvements


    (*) last notes: the buttons that you want to modify MUST have one of the TAGs that allow precisely the modification: BtnOK, BtnNOK, BtnGen, BtnExit, BtnDel, BtnPrn
    (**) you can add any TAG you want, just edit the record source of the command “BtnTagChoice”
    Attached Files Attached Files

  2. #2
    zinfra is offline Novice
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    6
    I have made some updates to the DB -> V2.

    • Now use a table to store control parameters.
    • Added TabCtrls for editing layouts.
    • Added the Header/Detail/Footer colors.

    I'm still working on it, but I think it's a good basis
    Attached Files Attached Files

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums