Hi Koen,

I understand that it is a bit verbose, but why not have a helper
> function that instantiates both ?


Of course, but I suppose it's better when there is a standardized way of
doing that in the  Witty library?


However, then is the problem of where to put the label? You usually
> want some control over that.


You could create  two aditional methods in the *FormField* class   ( At
least that's the way they've done  it in Delphi  ) :

*enum* LabelPlacement { * lpLeft, lpRight , **lpAbove , lpBelow* };

LabelPlacement labelPlacement() ;   and
*void* setLabelPlacement( const LabelPlacement& );

with the default value being   *lpLeft*

Anyway, I am aware that this would  not be the most important feature in
this library, it would simply make things bit more convinient and
finger-saving ( we should be saving our fingers from arthritis for those
days when we get old  :-)   )

Regards,
Dushan
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to