Jump to content

yoshimi sakata

Members
  • Posts

    36
  • Joined

  • Last visited

yoshimi sakata's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. 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? UniDBGrid1.Font.Size=20 UniDBGrid1.Columns[nn].Font.Size=20 UniEdit1.Font.Size=20 UniDBGrid1.Columns[nn].Editor = UniEdit1
  2. Hi, Farshad I send a test project DBGridLookup.zip
  3. 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
  4. 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
  5. Hi, Farshad [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.
  6. 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;
  7. 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
×
×
  • Create New...