mos
uniGUI Subscriber-
Posts
269 -
Joined
-
Last visited
-
Days Won
2
Content Type
Profiles
Forums
Events
Everything posted by mos
-
Hi Delphi Developer, Any update on this as I need to be able to set the background colour of the UniHTMLFrame? Delphi XE2 UniGui Complete Professional: 1466.
-
I have a UniHTMLMemo with ShowToolBar set to True. When I click the grow text button the text size increases but it stops increasing at certain point (my guess probably due to a set maximum size). I need to increase the text size beyond the maximum size value. How can I do this? Delphi XE2 UniGUI Complete Professional: 1.10.0.1466
- 2 replies
-
- unihtmlmemo
- grow
- (and 5 more)
-
At runtime I am setting the selected node however this node maybe not be in the visible area of the treeview as the treeview may contains a lot of items. How can I scroll the treeview so the selected node is visible?
-
I have installed Build 1454 and have noticed that with scroll bars by default you have to drag the bar to scroll the contents. Previously with Ext JS 4 you could click anywhere along the scroll bar to cause the contents to scroll. Is there an option I need to enable to allow the above to happen?
-
Yes I think that is the only way as well.
-
Hi herculanojs, Did you manage to find a solution to this issue?
-
Hi Delphi Developer, Any update on this as it seems calling Invalidate does not trigger the OnDrawCell after the grid has been initially created? Build 1413.
-
Hi Delphi Developer, If I have goRangeSelect enabled in VCL StringGrid we can normally use the Selection property to find out what cells are selected. Is there a way of doing this in UniStringGrid as I noticed there is a goRangeSelect but no Selection property?
-
Hi Delphi Developer, I had already tried setting the Enabled to False but it grays out the grid. I want the grid to appear normally without any cell focus highlighted.
-
Hi Delphi Developer I don't want the cell selection to be visible on any cell in the grid.
-
Hi Delphi Developer, Is it possible to remove the cell focus highlight so that no cell is highlighted in the stringgrid? is it possible to set the background color of the column titles row when ShowColumnTitles is True? Also is it possible to trap the click event on column title cells and then be able to call some other Delphi code?
-
Hi Delphi Developer, Works Great. Thank you very much for your help.
- 13 replies
-
- fading
- transition
-
(and 1 more)
Tagged with:
-
Hi Delphi Developer, I got around this error doing this way instead: procedure TMainForm.UniTimer1Timer(Sender: TObject); begin UniTimer1.Enabled := False; try UniSession.AddJS('document.getElementById("'+self.UniPanel2.JSControl.Id+'").style.opacity="0";'); finally UniTimer1.Enabled := True; end; end; Another Question: With the fadeOut is it possible to be notified when the fadeOut has ended so I can then call some other Delphi code? Based on what I have seen you can setup a CallBack but I am not sure how to do this and then get the CallBack to call my Delphi code?
- 13 replies
-
- fading
- transition
-
(and 1 more)
Tagged with:
-
Hi Delphi Developer, I tried the following code to set the opacity of a Panel within a TUniTimer event with the following code: procedure TMainForm.UniTimer1Timer(Sender: TObject); begin UniTimer1.Enabled := False; try UniPanel2.JSInterface.JSConfig('style', [UniPanel2.JSControl.JSObject('opacity: 0')]); finally UniTimer1.Enabled := True; end; end; But when I do this I get the error attached. Build 1413.
- 13 replies
-
- fading
- transition
-
(and 1 more)
Tagged with:
-
Hi Delphi Developer, I found this code on the ExtJS site is it possible to get this working: Ext.Anim.run(panelOne, 'fade', { duration: 100, after: function() { panelOne.hide(); } }); Ext.Anim.run(panelTwo, 'fade', { out: false, duration: 100, before: function() { panelTwo.show(); } });
- 13 replies
-
- fading
- transition
-
(and 1 more)
Tagged with:
-
Hi Delphi Developer, Is it possible to get a ExtJS 4 version with a fix for this issue? Is build 1425 the latest ExtJS 4 version? If I were to move to ExtJS 6.5 I assume I would need to download the latest beta version? How stable is ExtJS 6.5 builds?
- 5 replies
-
- stringgrid
- row selection
-
(and 2 more)
Tagged with:
-
Hi Delphi Developer, Build 1413.
- 5 replies
-
- stringgrid
- row selection
-
(and 2 more)
Tagged with:
-
I have attached a sample project. Essentially it has a StringGrid which has goRowSelect turn on and has a column which is updated by a Timer every second. I am using BeginUpdate and EndUpdate inside the OnTimer event. What seems to be happening is if you highlight a row and the timer updates the cells when the EndUpdate has finished the StringGrid row position goes back to the top of the grid, rather than staying at the row you selected. If I then try and scroll down the stringgrid the position gets reset to the top again after the timer has finished. If I comment out the BeginUpdate and EndUpdate this doesn't happen and the row selector stay at the last selected row rather than move to the top of the grid. StringGrid.zip
- 5 replies
-
- stringgrid
- row selection
-
(and 2 more)
Tagged with:
-
Hi Delphi Developer, Is there any way I can do this?
- 2 replies
-
- stringgrid
- autosize
-
(and 2 more)
Tagged with:
-
Hi Delphi Developer, Is there update on this as I need to be able to center an image in a cell?
-
In the attachment provided the row select bar is blue and the yellow first two columns are where the JS code was applied. In this example you can see that the blue bar does not cover the yellow cells when the row is highlighted.
-
Hi Delphi Developer, Would moving to ExtJS 6.5 allow me to use the CSS above? Is there a reason why it can't be done in ExtJS 4?
-
Hi Delphi Developer, Another question. I need to center an image in a stringgrid cell and based on what I have seen I need to set the following in the DIV: style="text-align:center" I added the following to the CustomCSS in the ServerModule: .supergrid .x-grid-cell-inner { text-align: center } What do I need to do to apply the above CSS to the DIV?