home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / 25876 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.9 KB

  1. From: tribby@hpindda.cup.hp.com (David Tribby)
  2. Date: Mon, 21 Dec 1992 17:45:31 GMT
  3. Subject: Re: Need help with LineEdit Control flags
  4. Message-ID: <123400006@hpindda.cup.hp.com>
  5. Organization: HP Info Networks Div/Cupertino CA
  6. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscit.sc.hp.com!hplextra!hpcss01!hpindda!tribby
  7. Newsgroups: comp.sys.apple2
  8. References: <123400005@hpindda.cup.hp.com>
  9. Lines: 29
  10.  
  11. > Pauley@vnet.ibm.com (Paul Benson) writes...
  12. > In <123400005@hpindda.cup.hp.com> David Tribby writes:
  13. > >I'm writing a desktop program that displays text values that the
  14. > >program (not the user) updates in a window.
  15. > > <stuff deleted>
  16. > >a HiliteControl(0x00FF, ... ) for each of the line edit controls in
  17. > >the window so that users can't modify the text.
  18. >        ...                                 However, in your app, I think
  19. > the use of static text fields would be more in the HIG, since you never
  20. > let the user change the values.  It would be confusing to se a text _edit_
  21. > field which could never be editted.
  22.  
  23. Pauley--
  24.     I'm trying to do things very much like a control in SynthLab...an 
  25. "increment" and "decrement" icon button with the numeric result shown
  26. in a 3-character LE Text field. I use a Line Edit control rather than
  27. static text because (1) there's an easy way for the program to change
  28. the value of the control and (2) the enclosing rectangle look cool :-).
  29. It doesn't appear confusing at all (to me).
  30.     If the *only* reason the manual says not to use the Hilite bits is
  31. the visual interface, I would go ahead an use them. If, on the other
  32. hand, the toolbox code is making assumptions about those bits being clear,
  33. I wouldn't use it and would stick with the HiliteControl() call.
  34.  
  35. -- Dave
  36.  
  37. Dave Tribby            Internet: tribby@cup.hp.com   GEnie: D.TRIBBY
  38. Hewlett-Packard Information Networks Division, Cupertino, California
  39.