Jump to content

lpaulo

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by lpaulo

  1. Hello! Sorry my ignorance, but I am doing something wrong. I declared the variable in MainModule: type TUniMainModule = class(TUniGUIMainModule) private { Private declarations } public gNome : String; { Public declarations } end; ... And I am trying to use the variable in MainForm: uses uniGUIVars, MainModule; function MainForm: TMainForm; begin Result := TMainForm(UniMainModule.GetFormInstance(TMainForm)); end; procedure TMainForm.UniButton1Click(Sender: TObject); begin gNome := UniEdit1.Text; end; I try to use: gNome := UniEdit1.Text; or MainModule.gNome := UniEdit1.Text; The error is the same: [DCC Error] Main.pas(40): E2003 Undeclared identifier: 'gNome' What I am doing wrong? thanks. Luiz
  2. Hello! How (or better, WHERE) can I to declare a global variable "sessioned"? A global variable to be used in all forms/units and different for each session? I want to use it like USERNAME for my authentication engine. Each session have a diferent user, and this variable will be used in all forms (to test grants). Thanks for help. Luiz
  3. Yes!!! Please administrator, see with too care a special price to Brasil. Brasil is the principal Delphi Users legion in the world. Thanks.
  4. Hello Guys! I had an application written in IW. Sometimes there was a "crossing session data". So I rewrote my webservice usign UNIGUI in 20 minutes. And now this is working fine! I am just afraid with the unigui price! Lets wait the 0.90 version.
  5. lpaulo

    ShowMessage

    Hello guys! How to implement a showmessage in unigui? Thanks
×
×
  • Create New...