uniguibbs
Members-
Posts
135 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by uniguibbs
-
thank above all. i have a new question: radiogroup add or remove items. the component can not display correct. it doesn't refresh.
-
second question: give a name to the componet. next time run this code , exception raise --------------------------- Debugger Exception Notification --------------------------- Project FlowQinJia.exe raised exception class EComponentError with message 'A component named rgrmp2 already exists'. --------------------------- i try to RemoveControl(rgEmp2) at first; another exception raise " the component not exists." what's wrong?
-
ok. resolved by myself. give the new component a name. it works.
-
unigui 0.94 delphi xe2 Dynamic create TUniRadioGroup. following code, the columns doesn't divide to 6. what's wrong? RemoveControl(rgEmp2); rgEmp2 := TUniRadioGroup(InsertControl(TUniRadioGroup.Create(Self))); rgEmp2.ClientEvents.ExtEvents.Add( 'radioGroup.beforerender=function radioGroup.beforerender(sender, eOpts)' + #13#10 + '{' + #13#10 + 'sender.columns = 6' + #13#10 + '}' ); if not cdsDepMan.IsEmpty then begin cdsDepMan.First; while not cdsDepMan.Eof do begin rgEmp2.Items.Add(cdsDepManempname.AsString); cdsDepMan.Next; end; end;
-
hi , rullomare. unigui 0.94 delphi xe2 Dynamic create TUniRadioGroup. following code, the columns doesn't divide to 6. what's wrong? RemoveControl(rgEmp2); rgEmp2 := TUniRadioGroup(InsertControl(TUniRadioGroup.Create(Self))); rgEmp2.ClientEvents.ExtEvents.Add( 'radioGroup.beforerender=function radioGroup.beforerender(sender, eOpts)' + #13#10 + '{' + #13#10 + 'sender.columns = 6' + #13#10 + '}' ); rgEmp2.ClientEvents.Enabled := True; if not cdsDepMan.IsEmpty then begin cdsDepMan.First; while not cdsDepMan.Eof do begin ListLeader.Add(Format('%S=%S', [cdsDepManempid.AsString, cdsDepManempname.AsString])); rgEmp2.Items.Add(cdsDepManempname.AsString); cdsDepMan.Next; end; end;
-
thanks! rullomare, Very useful
-
can items in radiogroup, seprate to multi column?
-
can items in radiogroup, seprate to multi column
-
0.94 still base on extpascal?
-
Survey: Features you want to see in version 1.0
uniguibbs replied to Farshad Mohajeri's topic in Feature Requests
This is based on. NET open source under the control library Extjs, I hope unigui ver: 1.0 to achieve most of the controls inside the case http://fineui.com/demo/ -
But I have another problem. If the parent of 'UniHTMLFrame' is not a Form, how to get then object 'UnitHTMLFrame' in client sides. I put the 'UniHTMLFrame' in a 'TFrame'. I use 'document.getElementById('UniHTMLFrame1'), but it cannot get the object? Why?
-
Thanks a lot. The problem has been solved.
-
I want to use 'ajaxRequest' in TUniHTMLFrame.HTML. Source Code: TUniHTMLFrame.HTML: <input type="button" value="Test" class="button" onclick="ajaxRequest(sender, 'MyEvent1', [ 'param0=A', 'param1=B' ]);"/> procedure UniHTMLFrame1AjaxEvent(Sender: TComponent; EventName: string; Params: TStrings); begin ShowMessage(EventName); end; When I click 'Test' button, It cannot call 'UniHTMLFrame1AjaxEvent'. Why?
-
set the test.dll as the default page. just like default.html. then you can visit test.com
-
ok , i will try
-
can not visit the URL.
-
is there a way to decrease ext-all.js size.
-
Isapi, win64, iis, when i visit my app, need to wait a long time, then session timeout. i think may be the ext-all.js too large, browser wait it download for a long time , so session timeout. is it exactly? how optimize ?
-
sometimes, the same problem in my apps. i still not found the reason.
-
how to optimize my app? we visit online demos in ungui.com , the demos work fine. my app , visit on intranet , work fine. but in internet , it don't work. two question: 1.how to optimize app if deploy my app in internet? 2.how to decrease ext-all.js size.
-
oh, how to change the cell's css class?
-
Memo & Image in DBGrid Demo Column "Notes" can not select and copy. how can i select and copy the text in that Field?