All Activity
- Today
-
Mobile DBListGrid config.itemTpl Table Row Color Function
Sherzod replied to andyhill's topic in uniGUI Mobile
-
Mobile DBListGrid config.itemTpl Table Row Color Function
Ario.Paxaz replied to andyhill's topic in uniGUI Mobile
Hello How should I do this? Regards. -
Sorry, you seem to have created a minimal test case, right?
-
TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 0, 3.
Dinkin replied to erich.wanker's topic in General
Доброго! Вроде нашел решение данной ошибки (По крайне мере у меня). Как ранее писалось, что ошибка возникает когда некоторые события в таблице наступают, до того как прогрузились данные. Так вот решение у меня такое, принудительно завершить обновление таблицы, после получения данных в событии OnAfterLoad. void __fastcall TGroupFrame::MyGridAfterLoad(TUniCustomDBGrid *Sender) { MyGrid->EndUpdate(); } //--------------------------------------------------------------------------- -
I need to display a form or frame from a point such as the middle of the page to the bottom. I can't find the change of display position of form or frame in mobile. Regards.
-
Well, client-side alignment already implies automatic positioning of the component inside the container. Then clarify your case, why do you need to change the height and width?
-
exactly. What code should be written in this case?
-
на первом снимке обведена красньім компонента TUnimEdit, как видите, на месте єтой компонентьі видна задняя (нижняя) форма. Использую тему Material. А вот на трех других снимках проблем нет. Там - Neptune, Triton и iOS:
-
может что-нибудь почерпнете отсюда
-
Hello, What kind of alignment are you using? Perhaps you are using client alignment and that is why the code is not working.
-
eduardodrd started following Marlon Nardi
-
Sending mail from Gmail
FRANCISCO CASTRO SOTO replied to FRANCISCO CASTRO SOTO's topic in Deployment
Indications on how to activate SSL in IIS, very well explained , I provide a link to a video that describes step by step how to activate SSL operation in IIS in ISAPI environments. To send email with SSL it is essential to correctly configure IIS. - Yesterday
-
Hello I wrote the following code in added event in ExtEvents for Unimpanel, But do not work. function added(sender, container, index, eOpts) { sender.setWidth(Ext.getBody().getViewSize().width); sender.setHeight(Ext.getBody().getViewSize().Height); } Where am I going wrong? Regards.
-
-
To get the value of the filter entered, just do the following Columns[I].Filtering.VarValue
-
Good morning, thank you for your quick reply, even if I don't use the unit compare with program and if I have managed to create the running filters. But at the time of reading the filter value I have not been able to obtain the typed value. I attach the code used, if you can guide me or give me another alternative, greetings from Cali Colombia procedure TFConsultasGenF.UniDBGrid1ColumnFilter(Sender: TUniDBGrid; const Column: TUniDBGridColumn; const Value: Variant); var UniDBGridColumn:TUniDBGridColumn; UniEdit:TUniEdit ; ColumnFilter:TUniColumnFilter ; str:string; FieldName:string; xunidbgrid:TUniDBGrid; w_filtername:string; EditComponent: TComponent; begin str:= Value; w_filterName:= 'F_' + Column.FieldName ; EditComponent := Self.FindComponent(w_filterName); if EditComponent is TUniEdit then begin UniEdit := tUniEdit(EditComponent); str:=uniEdit.Text; end; end; // CREATE FILTER CODE procedure TFConsultasGenF.Crear_Filtros2(p_HiddenPanel: TUniHiddenPanel; p_DataSet: TDataSet); {crea tunit con el nombre cada campo del tdataset con prefijo F} begin var i:Integer; var w_uniEdit:TuniEdit ; VAR W_FieldName:string ; UniDBGrid1.Columns.BeginUpdate; for I := 0 to p_DataSet.Fields.Count - 1 do begin w_uniEdit:= TuniEdit.Create(SELF ); w_uniEdit.Name:= 'F_' + p_DataSet.Fields[i].FieldName ; w_uniEdit.Parent:= p_HiddenPanel ; W_FieldName:= p_DataSet.Fields[i].FieldName ; UniDBGrid1.Columns[I].Filtering.Editor:= w_uniEdit; UniDBGrid1.Columns[i].Filtering.Enabled:= True; UniDBGrid1.Columns[i].Filtering.ChangeDelay := 250; // Filtering.Editor := TUniEdit(Self.FindComponent('ed' + lModel.Name.Replace('.', '_'))); // UniDBGrid1.ColumnByName(W_FieldName).Filtering.Editor:= w_uniEdit; // UniDBGrid1.ColumnByName(W_FieldName).Filtering.Enabled:= True; end; UniDBGrid1.Columns.EndUpdate; END;
-
Good morning, thank you for your quick reply, even if I don't use the unit compare with program and if I have managed to create the running filters. But at the time of reading the filter value I have not been able to obtain the typed value. I attach the code used, if you can guide me or give me another alternative, greetings from Cali Colombia procedure TFConsultasGenF.UniDBGrid1ColumnFilter(Sender: TUniDBGrid; const Column: TUniDBGridColumn; const Value: Variant); var UniDBGridColumn:TUniDBGridColumn; UniEdit:TUniEdit ; ColumnFilter:TUniColumnFilter ; str:string; FieldName:string; xunidbgrid:TUniDBGrid; w_filtername:string; EditComponent: TComponent; begin str:= Value; w_filterName:= 'F_' + Column.FieldName ; EditComponent := Self.FindComponent(w_filterName); if EditComponent is TUniEdit then begin UniEdit := tUniEdit(EditComponent); str:=uniEdit.Text; end; end;
-
Did you ever resolve this issue ? Everytime I upgrade to 1.95 I get this dreaded issue and have to downgrade back to 1.90.0.1564 It happens multiple times a day with all users, it's very frustrating. Same code base 2 different UniGUI versions.
-
builder joined the community
-
It's ok sorted I didn't realise it was an event on the form and you had to set the form to accept.
-
Hi, Starting to use websockets in UniGUI but the event isn't triggering: Websockets is enabled in ServerModule and MainModule. No Aux ports etc.. In the web browser console it shows as received, but the event is not triggered. procedure TMainForm.UniFormBroadcastMessage(const Sender: TComponent; const Msg: string; const Params: TUniStrings); begin if Msg = 'update' then begin Park1.Caption := Params['text'].AsString; Park1.Color := ConvertHtmlHexToTColor('#19bd3c'); end; if Msg = 'park1Stop' then begin Park1.Caption := 'No Parked Call'; Park1.Color := ConvertHtmlHexToTColor('#19bd3c'); end; end; The demo works but not my app. Any pointers ? Thanks. Dave
-
Hello, I'm looking for a sample how to implement dragging records in a unidbgrid to a record in unidbtreegrid. I've found some code but the sample itself (project) is not available for download anymore. So i have a grid where i select several records and want to drag then to a record in a unidbtreegrid. Thanks.
-
Hello, By the way, this seems to be what you need or not?
-
andyhill started following I'm searching for an experienced UniGUI developer
-
I may be available too (English speaking, 50 odd years programmer in Australia). Just completed Fully Featured CashBook accounting project among many other legacy projects.
- Last week
-
Graham joined the community
-
you are right @Sherzod i know. i need just to know whether the print button on the toolbar was pressed Best Regards,