Tab Control BringToFront

Discussion in 'Bug Reports' started by Cableguy, Feb 14, 2008.

  1. Cableguy

    Cableguy Expert Licensed User

    I don't know if this has already been adressed, but I didn't find anythingg abou it so....
    Tab Control BringToFront Method Does NOTHING ...
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Thanks Cableguy.
    It will be fixed soon.
     
  3. BjornF

    BjornF Active Member Licensed User

    Sorry to bring it up again, but it still does not work in 6.30... (although it is otherwise a very nice update :) )

    all the best / Björn


    Update:

    :sign0013: I should really learn to look in the updated libraries, the solution is there !!! Very embarrasing. :signOops:
     
    Last edited: May 21, 2008
  4. BjornF

    BjornF Active Member Licensed User

    :sign0085:

    Actually, no, it still does not work even with an updated ControlsEx.dll (14 March). :(

    Alternatively I am doing something stupid - could someone help me?

    Björn
     
  5. maXim

    maXim Active Member Licensed User

    Hi Björn,

    if Your intention is to represent the TextBox (or other) in the pages (Tab) of TabControl recommend using the AddControl method:
    Code:
    ...[FONT=Courier New][SIZE=2]
    [SIZE=
    2][FONT=Courier New]tbc.[B]New1[/B]([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]"Form1"[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]10[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]10[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]100[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]100[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
    [SIZE=
    2][FONT=Courier New]tbc.[B]AddTabPage[/B]([/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]"First page"[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT]
    [/SIZE][/
    FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]tbc.[B]AddControl[/B]([/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000][FONT=Courier New][SIZE=2][COLOR=#800000]"TextBox1"[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]0[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]2[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2],[/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080][FONT=Courier New][SIZE=2][COLOR=#800080]2[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2])[/SIZE][/FONT][/SIZE][/FONT]
    [
    FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]...[/SIZE][/FONT]
    [/SIZE][/
    FONT]
    Best Regards,

    Massimo
     
  6. BjornF

    BjornF Active Member Licensed User

    Sorry, I didn't explain it properly.

    I just put in a textbox so that I could see whether the tabcontrol could be brought in front of another control (using the BringToFront command).

    Which it can't :(

    all the best / Björn
     
  7. Erel

    Erel Administrator Staff Member Licensed User

  8. BjornF

    BjornF Active Member Licensed User

    Dear Erel,

    Thank you for that, now it works perfectly. :sign0060:

    best wishes / Björn
     
Loading...