dbTalk Databases Forums  

Way to make "Disappearing Field Labels"?

comp.databases.filemaker comp.databases.filemaker


Discuss Way to make "Disappearing Field Labels"? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Grip
 
Posts: n/a

Default Way to make "Disappearing Field Labels"? - 02-26-2007 , 09:23 PM






I feel like I've seen this feature somewhere, maybe it was in a
dream.

I'd like to have the field label appear _in_ the field, then disappear
when the field is entered and stay disappeared if there's a value in
the field, but reappear if there's not. I want to do this to conserve
screen estate and 'cause I think it'd be cool.

I've played around with layering the field/label with and without
fill, but I haven't gotten anywhere with that. I could add a calc
field for every field I want this effect on, but that seems like a lot
of extra fields. I think I could also do it with EventScript, but
only on text defined fields.

Any ideas on an elegant solution without the use of a plugin?

G


Reply With Quote
  #2  
Old   
Carpeflora
 
Posts: n/a

Default Re: Way to make "Disappearing Field Labels"? - 02-26-2007 , 10:57 PM






On Feb 26, 10:23 pm, "Grip" <g... (AT) cybermesa (DOT) com> wrote:
Quote:
I feel like I've seen this feature somewhere, maybe it was in a
dream.

I'd like to have the field label appear _in_ the field, then disappear
when the field is entered and stay disappeared if there's a value in
the field, but reappear if there's not. I want to do this to conserve
screen estate and 'cause I think it'd be cool.

I've played around with layering the field/label with and without
fill, but I haven't gotten anywhere with that. I could add a calc
field for every field I want this effect on, but that seems like a lot
of extra fields. I think I could also do it with EventScript, but
only on text defined fields.

Any ideas on an elegant solution without the use of a plugin?

G
just a thought to add auto entry for initial field contents to equal
get(activefieldname)...or similar. Not sure of syntax...

Lara



Reply With Quote
  #3  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Way to make "Disappearing Field Labels"? - 02-26-2007 , 11:30 PM



In article <1172552274.985398.221650 (AT) a75g2000cwd (DOT) googlegroups.com>,
"Carpeflora" <lara (AT) liquidpointdesign (DOT) com> wrote:

Quote:
On Feb 26, 10:23 pm, "Grip" <g... (AT) cybermesa (DOT) com> wrote:
I feel like I've seen this feature somewhere, maybe it was in a
dream.

I'd like to have the field label appear _in_ the field, then disappear
when the field is entered and stay disappeared if there's a value in
the field, but reappear if there's not. I want to do this to conserve
screen estate and 'cause I think it'd be cool.

I've played around with layering the field/label with and without
fill, but I haven't gotten anywhere with that. I could add a calc
field for every field I want this effect on, but that seems like a lot
of extra fields. I think I could also do it with EventScript, but
only on text defined fields.

Any ideas on an elegant solution without the use of a plugin?

just a thought to add auto entry for initial field contents to equal
get(activefieldname)...or similar. Not sure of syntax...
Auto-enter calculations are performed when the record is created, so
there wouldn't be any "active" field to get the name of, but it is a
good idea and probably the easiest way to do it.

You could set the auto-enter calculations to the field name by
manually typing it in. The set the field's format so that it selects
the text when clicked on or tabbed to (Format -> Field Format in the
Behaviour section) so that users simply type over the top of the
auto-entered data or any already entered data.

It will of course cause a problem if you need to check for empty fields
in calculations or scripts since IsEmpty will be of no use - you would
have to remember to check for the field name instead (as in the below
calculation).

The only hiccups will be:

- Container fields since they can't have textual data, for
these you'll need to use a separate Calculation field.

- Calculation fields , but you can change the calculation
to something like:

If (FieldA = "FieldA" and FieldB = "FieldB",
"{calculation field's name}",
FieldA * FieldB
)

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.