Results 1 to 2 of 2

Thread: Radio Buttons as list of buttons and more

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,289

    Radio Buttons as list of buttons and more

    I make some additions and a bit of changes that not change the programming schema, but now works fine the trasparency of the control (backstyle=1) (is a copy of the form picture). Also I put a special color to act as text color for seleced item for menu items.
    This I done for member Elroy, who wants to duplicate an exist control but he didn't thought that starting something new is better by wrapping code on a RTB control. Every item as a radio button with his thought would be a fresh RTB. I don't like that approach. I would like better to handle a group of selections in list, so i can handle the number without thinking about how big is my form.
    You can freely use that code and if you like make it a better control..
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    May 2014
    Location
    Kallithea Attikis, Greece
    Posts
    1,289

    Re: Radio Buttons as list of buttons and more

    Remove line 2476... produce flickering,,,and isn't needed...(because nfg has 0, so before SHOWME2 me we have a frame from SHOWME with forecolor=0 and that is the fault. In this example there is not a lot of lines so SHOWME isn't used a lot (used for page move, up or down in half page steps)
    this is the BAD line
    ' If nfg = fg Then ForeColor = fg Else ForeColor = nfg

    ForeColor = fg ' is the right one ' bu as i see we can delete too
    Last edited by georgekar; Oct 31st, 2014 at 07:17 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width