Home » U++ Library support » LineEdit, EditFields, DocEdit » LineEdit error [BUG]
LineEdit error [BUG] [message #18512] |
Mon, 06 October 2008 04:02 |
|
amando1957
Messages: 57 Registered: November 2007 Location: Wien/Vienna/Viden
|
Member |
|
|
Hello folks,
I've tried my first CtrlLib project with a LineEdit, and got this error:
D:\upp\MyApps/ctrlLib_t/ctrlLib_t.lay:5: error: 'class Upp::LineEdit' has no member named
'MaxChars'
It showed the *.lay with the marked the line:
ITEM(LineEdit, lineEdit, MaxChars(64).SetFont(StdFontZ(16)).SetFrame(NullFrame()).Tip(t_("hinweis")).LeftPosZ(32, 148).TopPosZ(4, 24))
Indeed 'MaxChars' is not to find in the "CtrlLib\TextEdit.h".
While in "EditCtrl.h" its looking like this:
EditField& MaxChars(int mc) { maxlen = mc; return *this; }
So, maybe LineEdit needs the same one?
Further I won't get back the graphic editor now,
Martin
[Updated on: Wed, 08 October 2008 20:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri Apr 26 22:20:24 CEST 2024
Total time taken to generate the page: 0.02405 seconds
|