Jump to content

Recommended Posts

Posted

hi farshad i have that problem...

 

in that code:

CampoLook[i] := TUNIDBLookupComboBox.Create(formDacreare);
CampoLook[i].parent := parent;

after the parent assignment raise an exception the component not have a parent component...

 

the same code with a TUniDBEdit work, whit normal delphi component work.

 

other else,

the toolbar not show caption of the toolbutton in web mode, and the label created at runtime with that code:

LBl[i] := TuniLabel.Create(FormDaCreare);
LBl[i].AutoSize := falsE;
LBl[i].Width := 70;
LBl[i].Parent := Parent;
LBl[i].Caption := Nomecampo;
LBl[i].Left := l;
LBl[i].top := hlabel;
lbl[i].Text :=  Nomecampo;
lbl[i].TextConversion := txtRegular;
LBl[i].Show;

 

work on web mode but not work on windows application.

 

thanks in advance :)

  • Administrators
Posted

hi farshad i have that problem...

 

in that code:

CampoLook[i] := TUNIDBLookupComboBox.Create(formDacreare);
CampoLook[i].parent := parent;

 

What is the type of Parent parameter in above code?

  • 4 weeks later...
  • Administrators
Posted

hi farshad,

in my test case there are an error in vcl mode,

if you go in anagrafiche->padroncini the label not are visible, do you know why?

 

thanks again :)

 

Do not call Show and PaintTo. They're not needed.

×
×
  • Create New...