Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: New DBForm replacement class, with Background "hints"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,541

    Default New DBForm replacement class, with Background "hints"

    For your continued enjoyment, here is a functional way to add shadowed "hint" objects inside
    the bounds of a standard dbform

    cBackgroundTextBox.pkg
    dbHintForm.pkg
    Code:
    Use dbHintForm.pkg
    
    .
    .
    .
     
     object oMyFile_Field is a dbHintForm
          Set location to 10 10 
          Entry_Item myFile.Field 
          Set psHint to "Hint Hint"
     End_object
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  2. #2
    Join Date
    Nov 2008
    Location
    Round Rock, TX
    Posts
    7,743

    Default Re: New DBForm replacement class, with Background "hints"

    Nice Michael, thanks for sharing!

  3. #3
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,541

    Default Re: New DBForm replacement class, with Background "hints"

    Just go ahead and check it in to the Source control for DF18.0

    MM
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  4. #4
    Join Date
    Nov 2008
    Location
    Round Rock, TX
    Posts
    7,743

    Default Re: New DBForm replacement class, with Background "hints"


  5. #5
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,541

    Default Re: New DBForm replacement class, with Background "hints"

    I wasn't entirely kidding...
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  6. #6
    Join Date
    Mar 2009
    Posts
    816

    Default Re: New DBForm replacement class, with Background "hints"

    That's some good stuff! Thanks!

    Frank Cheng

  7. #7
    Join Date
    Feb 2009
    Location
    Peoria, IL
    Posts
    5,292

    Default Re: New DBForm replacement class, with Background "hints"

    Very nice Michael - thanks for sharing. Can you show a screen print of what it looks like?
    Chuck Atkinson

    All generalizations are false, including this one - Mark Twain

  8. #8
    Join Date
    Feb 2009
    Location
    Queens, NY, NY
    Posts
    6,541

    Default Re: New DBForm replacement class, with Background "hints"

    Click image for larger version. 

Name:	dbHintForm.png 
Views:	171 
Size:	2.6 KB 
ID:	7838

    The second field is disabled, So I guess I should have it check the background color of the base form, and use that.
    Michael Mullan.
    Danes Bridge Enterprises.

    ++++++++++++++++++++++++++++
    There is just today. Tomorrow is a concept
    that is mostly theoretical. -- GM Wylie
    ++++++++++++++++++++++++++++

  9. #9
    Join Date
    Feb 2009
    Location
    Castlegar, BC Canada
    Posts
    3,709

    Default Re: New DBForm replacement class, with Background "hints"

    Nice Michael!

  10. #10
    Join Date
    Feb 2009
    Location
    Peoria, IL
    Posts
    5,292

    Default Re: New DBForm replacement class, with Background "hints"

    Looks nice - BY THE WAY I did a custom class in WAF that uses HTML 5 to do this. Did a bit of reading and the general consensus is to not remove the labels and rely on the hint for the label.
    Chuck Atkinson

    All generalizations are false, including this one - Mark Twain

Posting Permissions

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