lucksjb
-
Posts
21 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by lucksjb
-
-
Hi guys,
How can I put a button on a Unidbgrid ?
I try do it puting on a hidepanel.. but don´t run.
tnx advanced;
Luciano
-
This routine is with error
a:= 1;
b:= 1;
// in this code
if a=b then begin
showmessage( 'A = B', // this message don´t showed
procedure(Res: Integer) begin
CLOSE
end
);
end;
showmessage('Just this message is showed ');
I know this using the follow workaround :
a:= 1;
b:= 1;
// in this code
if a=b then begin
showmessage( 'A = B'); // this message is displayed
end else begin
showmessage('this message don´t showed ');
end;
How can I do it using callback ?
tnx advanced
Luciano -
would u like attach the source ?
please
tnx advanced
Luciano
-
tnx a lot.
I update my uniGUI and now have CheckChangeDelay property
and working
-
and in design ?
-
tnx a lot
-
how can I know my unigui version ?
tnx advanced
Luciano
-
Hi Dionel
do u know How can I navigate in a buttons with enter key ?
-
Hi,
I try to do a incremental search using onchange on a uniedit field. but if I typing fast, dont work.
how can I solve this ?
Tnx advanced.
Luciano
///// FORM
object MainForm: TMainFormLeft = 0Top = 0Caption = 'MainForm'ClientHeight = 495ClientWidth = 773Color = clBtnFaceOldCreateOrder = FalseOnCreate = UniFormCreateMonitoredKeys.Keys = <>PixelsPerInch = 96TextHeight = 13object UniDBGrid1: TUniDBGridLeft = 0Top = 74Width = 769Height = 418Hint = ''DataSource = DataSource1Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgTitleClick, dgTitleHotTrack]WebOptions.LoadMaskMsg = 'Please wait...'OnAjaxEvent = UniDBGrid1AjaxEventStripeRows = FalseTabOrder = 0endobject UniEdit1: TUniEditLeft = 24Top = 46Width = 345Height = 22Hint = ''PasswordChar = #0CharCase = ecNormalMaxLength = 0CharEOL = #0Text = ''TabOrder = 1Color = clWindowOnChange = UniEdit1ChangeOnAjaxEvent = UniEdit1AjaxEventendobject ADOConnection1: TADOConnectionConnected = TrueConnectionString ='Provider=SQLOLEDB.1;Password=xxxx;Persist Security Info=True' +';User ID=sa;Initial Catalog=l_dep_brasil;Data Source=192.168.0.1' +'60'LoginPrompt = FalseProvider = 'SQLOLEDB.1'Left = 720Top = 8endobject ADOQuery1: TADOQueryConnection = ADOConnection1CursorType = ctStaticParameters = <>SQL.Strings = ('Select Codigo_cli, Nome_cli from clientes_tb ')Left = 624endobject DataSource1: TDataSourceDataSet = ADOQuery1Left = 528endend///// UNITunit Main;interfaceusesWindows, Messages, SysUtils, Variants, Classes, Graphics,Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,uniGUIClasses, uniGUIForm, uniGUIBaseClasses, uniButton, uniEdit, Data.DB,uniBasicGrid, uniDBGrid, Data.Win.ADODB;typeTMainForm = class(TUniForm)ADOConnection1: TADOConnection;ADOQuery1: TADOQuery;UniDBGrid1: TUniDBGrid;DataSource1: TDataSource;UniEdit1: TUniEdit;procedure UniEdit1Change(Sender: TObject);procedure UniFormCreate(Sender: TObject);procedure UniEdit1AjaxEvent(Sender: TComponent; EventName: string;Params: TStrings);procedure UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string;Params: TStrings);private{ Private declarations }public{ Public declarations }end;function MainForm: TMainForm;implementation{$R *.dfm}usesuniGUIVars, MainModule, uniGUIApplication;function MainForm: TMainForm;beginResult := TMainForm(UniMainModule.GetFormInstance(TMainForm));end;procedure TMainForm.UniDBGrid1AjaxEvent(Sender: TComponent; EventName: string;Params: TStrings);beginUniEdit1.SetFocus;end;procedure TMainForm.UniEdit1AjaxEvent(Sender: TComponent; EventName: string;Params: TStrings);beginUniEdit1.SetFocus;end;procedure TMainForm.UniEdit1Change(Sender: TObject);beginADOQuery1.Locate('Nome_cli',UniEdit1.Text,[loPartialKey]);end;procedure TMainForm.UniFormCreate(Sender: TObject);beginADOQuery1.Open;end;initializationRegisterMainFormClass(TMainForm);end. -
tnx Farshad,
with uniform1.activecontrol = uniedit1 is running
tnx again
-
Hi guys,
how can I solve this ?
tnx advanced
Luciano
*** I´m attached the sample with error.
-
tnx so much ...
this salve my life
-
Hi,
anybody know how can I close form with ESC key ?
tnx advanced
Luciano
-
-
Hi guys
sorry ...but when I can use uniMainModule and uniServerModule ?
tnx advanced
Luciano
-
-
tnx Rober..
I would try do it
do u have any sample
´cause I don´t have the folow samples :
Form Callback
Form Anonymous Callback
tnx advanced...
Luciano
my facebook
-
what´s demo that show how create a callback form ?
tnx again
-
Hi
my name is Luciano, I´m from Brazil, and I begining develop using uniGUI.
First of all congratulations by this excelent tool ... this is realy good tool...
that´s a dream...
I don´t know understand how work callback functions ...
I need a running sample of callback function to a login form
tnx a lot guys
Luciano
can I use this software on android phone?
in General
Posted
Yes. I use phonegap to create a pk instalation.
Good luck