Search found 4 matches
- Fri Jan 29, 2016 12:57 am
- Forum: ScaleRichView
- Topic: example of how to constructure a tree from RVData
- Replies: 0
- Views: 22417
Re: Iterating through SRV controls
There is a example of how to constructure a tree from RVData procedure TMainForm.ShowStructure(RVData: TCustomRVData; Node: TcxTreeListNode; ParentID: integer; newtag: boolean; json: boolean; grid_type: integer); var i, StyleNo, ItemNo, combo_count, new_tag: Integer; ParaNode, ItemNode, SubItemNode ...
- Mon Jan 11, 2016 1:57 pm
- Forum: ScaleRichView
- Topic: TLabel does not show in ScaleRichViewEdit
- Replies: 4
- Views: 25175
TSRVLabel works perfect
Thank you procedure TFrameNRV.InsertLabel(rves: TCustomRichViewEdit; sName_Prefix, sCaption: string); var ACtrl: TSRVLabel; sItemNo: string; sName: TRVAnsiString; aAlign: TRVVAlign; ATag: Integer; item: TCustomRVItemInfo; begin ACtrl := TSRVLabel.Create(rves); ACtrl.Parent := rves; ACtrl.Name ...
- Sun Jan 10, 2016 2:39 am
- Forum: ScaleRichView
- Topic: TLabel does not show in ScaleRichViewEdit
- Replies: 4
- Views: 25175
I use TPanel instead, It works fine.
Sorry, TLabel can be replaced by TPanel, I have changed our code procedure TFInsertControls.ToolButton13Click(Sender: TObject); var c: TPanel; begin c := TPanel.Create(nil); c.Parent := SRichViewEdit1.ActiveEditor; c.Name := 'Panel'; c.Caption := 'Panel'; c.Font.Name := 'Microsoft Sans Serif'; c ...
- Sat Jan 09, 2016 9:40 am
- Forum: ScaleRichView
- Topic: TLabel does not show in ScaleRichViewEdit
- Replies: 4
- Views: 25175
TLabel does not show in ScaleRichViewEdit
I think it might be a label's caption font color problem. for you can select it, but label's caption looks blank. procedure TForm1.SRVButton1Click(Sender: TObject); var ACtrl: TLabel; sItemNo: string; sName: TRVAnsiString; aAlign: TRVVAlign; item: TCustomRVItemInfo; begin item := SRichViewEdit1 ...