yoshimi sakata
-
Posts
36 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by yoshimi sakata
-
-
-
Hello,
I want to edit data using UniDBLookupComboBox in UniDBGrid in WebMode.
UniDBGrid1.Cloumns[0].Editer := UniDBLookupComboBox1, but a value does not change even if I do DataSet.Post
-
Hello,
How do you change FontSize of InlineEditer of UniDBGrid?
object UniDBGrid1: TUniDBGrid Font.Height = -48 ParentFont = False TabOrder = 0 Columns = < item FieldName = 'ID' Title.Caption = 'ID' Width = 264 Visible = True Font.Height = -48 Alignment = taRightJustify Expanded = False end item FieldName = 'NAME' Title.Caption = 'NAME' Width = 524 Visible = True Font.Height = -48 Expanded = False end> end
-
Hi, Farshad
Please paste the error code here.
[DCC error] Unit1.pas(31): E2009 not compatible in a model: A method pointer and normal procedure
The problem was settled
Thanks
Unit all Source code
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIFrame, uniGUIBaseClasses, UniGUIDialogs, uniButton, uniMemo; type TUniFrame1 = class(TUniFrame) UniButton1: TUniButton; UniMemo1: TUniMemo; procedure UniButton1Click(Sender: TObject); private public end; implementation {$R *.dfm} procedure TUniFrame1.UniButton1Click(Sender: TObject); begin // MessageDlg('TUniFrame.MessageDlg',mtInformation, [mbOk], UniGUIDialogs.MessageDlg('TUniFrame.MessageDlg',mtInformation, [mbOk], procedure(Res: Integer) begin UniMemo1.Lines.Add(IntToStr(Res)); end ); end; end.
-
Workaround:
Add UniGUIDialogs to uses list.
Hi, Farshad
Thanks,
I changed it, but the problem is not settled.
interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIFrame, uniGUIBaseClasses, UniGUIDialogs, uniButton, uniMemo;
-
Hi,
How do you use Callback of MessageDlg in TUniFrame?
type TUniFrame1 = class(TUniFrame) UniButton1: TUniButton; UniMemo1: TUniMemo; procedure UniButton1Click(Sender: TObject); private public end; implementation {$R *.dfm} procedure TUniFrame1.UniButton1Click(Sender: TObject); begin MessageDlg('TUniFrame.MessageDlg',mtInformation, [mbOk], procedure(Res: Integer) begin UniMemo1.Lines.Add(IntToStr(Res)); end ); end;
This source code becomes the compilation error
UniDBLookupComboBox in UniDBGrid (WebMode)
in General
Posted
Hi, Farshad
Thank you,
It is another question
Can you make the height of the UniDBGrid.Column.Editer component the same as high UniDBGrid.Column?