Results 1 to 4 of 4

Thread: Subliminal Messaging

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15

    Subliminal Messaging

    I am diong research on subkiminal messaging for a Science REsearch class, and am using a testing program I made with Visual Basic.

    Last night I added actualy subliminal messaging into it using two timers, but I am having trouble.

    The answers to the question the person must answer are in a frame, and I want text to flash on TOP of the frame.

    I understand how to make text flash using a label, but I can't seem to ge tthe label in front of the frame!

    Is this even possible?

    Or should I be doing it another way?

    Thanks for all your help.

    (I'm using VB6 btw)

  2. #2
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Select the label and press CTRL+X then select the frame and press CTRL+V - now the label is in the frame and will be drawn on top of it.

    The reason for this odd behaviour is that labels are not real controls at all, but rather are drawn by their parent...in this case the frame control.

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2002
    Posts
    15
    That worked, however now that it is in the frame, it is still behind the option buttons also in the frame.

    any help on this?

    thanks

  4. #4
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Unfortunately all lightweight controls always go behind all other controls.

    The only way around this is to put the label in a second frame with that frame's border style set to "None" and put this frame withing the first frame. This frame can then be brought on top of the checkboxes by:

    Code:
    Frame2.ZOrder vbBringToFront
    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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