Search found 13 matches
- Thu Mar 15, 2018 10:59 am
- Forum: VCL / FMX
- Topic: StartEditor on Popup Form
- Replies: 1
- Views: 11459
StartEditor on Popup Form
I have a detail screen that pops up when I am editing the main form. I am trying to get it to start the editor on the first cell in the grid of the new popup form. If I try to start the editor I get an error "Cannot focus on a disabled or invisible window". I checked and the grid is enabled but not ...
- Fri Feb 02, 2018 1:50 pm
- Forum: VCL / FMX
- Topic: OnCellEdited
- Replies: 9
- Views: 28148
Re: OnCellEdited
The fact that the events don't work correctly on the parent form is a show stopper for us. Any chance the bug fix can be upgraded from enhancement to something more critical?
- Mon Jan 29, 2018 12:02 pm
- Forum: VCL / FMX
- Topic: OnCellEdited
- Replies: 9
- Views: 28148
Re: OnCellEdited
I have uploaded the test case. The click event behaves normally but the others (DblClick, OnSelect and OnCellEdited) seem to have issues.
- Fri Jan 26, 2018 12:56 pm
- Forum: VCL / FMX
- Topic: OnCellEdited
- Replies: 9
- Views: 28148
Re: OnCellEdited
I have an test case I can send but it is 2.4 MB and will not attach to this reply. How can I send it to you? I have defined the methods for the events (OnClick, OnDblClick, OnCellEdited and OnSelect) for Section4 of the Ticker form on the parent form (AvScreen). The first issue comes when trying to ...
- Thu Jan 18, 2018 12:04 pm
- Forum: VCL / FMX
- Topic: Tab movement suppresion in edit mode
- Replies: 2
- Views: 13735
Re: Tab movement suppresion in edit mode
I have managed to disable the tab movement but have now noticed that use of the arrow keys does not generate any events. How can I track which cell of the grid the user has arrowed to?
- Thu Jan 18, 2018 12:02 pm
- Forum: VCL / FMX
- Topic: OnCellEdited
- Replies: 9
- Views: 28148
Re: OnCellEdited
We are handling the events on the parent form. When I attempt to add the OnCellEdited event from the parent form (TAvScreenForm) but it complains that the parameter list is incompatible. I have used the same parameters that are present for the local form but it does not seem to like it. TCustomTeeGr...
- Fri Jan 12, 2018 6:22 pm
- Forum: VCL / FMX
- Topic: Tab movement suppresion in edit mode
- Replies: 2
- Views: 13735
Tab movement suppresion in edit mode
Is there an easy way to suppress the movement from the tab key when in edit mode like there is for the enter key?
I have tried using FormKeyDown logic but it seems to work only every other time the tab key is pressed.
I have tried using FormKeyDown logic but it seems to work only every other time the tab key is pressed.
- Tue Jan 09, 2018 1:54 pm
- Forum: VCL / FMX
- Topic: OnCellEdited
- Replies: 9
- Views: 28148
OnCellEdited
I am trying to use the OnCellEdited event with TeeGrid but I can't seem to get the event to fire. Is there some setup for it that I need to add?
- Fri Jan 05, 2018 10:26 am
- Forum: VCL / FMX
- Topic: Event handling
- Replies: 1
- Views: 11116
Event handling
With the OnClick event set on a several TeeGrids in a form I am able to deduce which TeeGrid on the form was clicked but do not see how to get which cell was clicked. I changed it to OnSelect and can now tell which cell is selected but the Sender comes back as TVCLTeeGrid instead of TTeeGrid and I a...
- Thu Dec 28, 2017 12:18 pm
- Forum: VCL / FMX
- Topic: Focus & Selection from program
- Replies: 2
- Views: 13207
Re: Focus & Selection from program
I figured out the set focus part of it.
TeeGrid1.Selected.Change(TeeGrid1.Columns[Column],Row);
Is there a way to switch this to edit mode (similar to double click)?
TeeGrid1.Selected.Change(TeeGrid1.Columns[Column],Row);
Is there a way to switch this to edit mode (similar to double click)?
- Thu Dec 28, 2017 11:29 am
- Forum: VCL / FMX
- Topic: Focus & Selection from program
- Replies: 2
- Views: 13207
Focus & Selection from program
How do you set focus to a particular cell in a TeeGrid from a program?
How do you select the data in the cell for editing from a program?
How do you select the data in the cell for editing from a program?
TeeGrid
The examples in the demos like the Ticker demo create a TStringsData and set the TeeGrid equal to the Data array; Data:=TStringsData.Create(5,8); TeeGrid1.Data:=Data; The problem is that this clears some of the formatting like column width and justification previously setup in the form for TeeGrid1....
- Wed Dec 13, 2017 3:40 pm
- Forum: VCL / FMX
- Topic: Cell Coloring
- Replies: 1
- Views: 11004
Cell Coloring
The getting started documentation alludes to individual cell coloring but doesn't give any code specifics. How do I change the color of a specific cell using Delphi?