226

(6 replies, posted in General)

Thanks a lot Dmitry...


Your script hides the tabsheet regardless there is an image or not.

Form1.TabSheet1.TabVisible := not Form1.DBImage1.isEmpty;
Form1.TabSheet2.TabVisible := not Form1.DBImage4.isEmpty;
Form1.TabSheet4.TabVisible := not Form1.DBImage8.isEmpty;
Form1.TabSheet5.TabVisible := not Form1.DBImage12.isEmpty;
Form1.TabSheet6.TabVisible := not Form1.DBImage16.isEmpty;
Form1.TabSheet7.TabVisible := not Form1.DBImage20.isEmpty;

I have specified images on about half the above and other half doesn't. I was hoping it'd display ones with image while hiding without specified image but it hides all tabsheets?

227

(1 replies, posted in General)

Table border custom color is not saved. It reverts back to default black at my end.

228

(6 replies, posted in General)

I'm trying to hide tab pages those don't contain images.

I have tab pages to display DBimages. For instance if tab page4 image1 is empty(no image loaded) then tab page 4 is hidden.

Any script help please?

229

(0 replies, posted in General)

Is it possible to show small image on image viewer in full size on click of a small image on RTF editor?


Is it possible to link table grid row from RTF editor and on click display linked grid row content?


Sample project:

230

(4 replies, posted in General)

HI Mathias,


Glad to see you around...


Thank you very much for the great tutorial about INI files and example.


Enjoy your days and weeks.......

231

(4 replies, posted in General)

Hi Derek,


Great stuff as usual...........
I Liked your solution, which is the correct approach - I see it now. However, thank you very much for both version...........
Truly appreciated.........................

232

(4 replies, posted in General)

After changing label text, keeping changed label text after restart the application; without the use of the registry?


Any solution please?

233

(6 replies, posted in General)

Here is another attempt to explain my question of displaying top record content separately via a sample project.

234

(6 replies, posted in General)

DriveSoft wrote:

Unfortunately I can't understand your question.


I have tried to illustrate my question. Hopefully, it's explained bit better now.


https://i.postimg.cc/N0NJjJSB/tree-top-Record.png


I used Form1b for illustration purposes but it should only Form1 used; perhaps via show/hide depending on top or child record selected if possible

235

(6 replies, posted in General)

DriveSoft wrote:
AD1408 wrote:

Is it possible to have tree top record content only when top record is selected?
For all child records as it's current functionality.

When you select "TOP RECORD Managing director", you want to see all employees from Director Technology, IT Infrasructure, System Engineering ?

No, I'd add content for top record nodes separately without the use of secondary table if possible. Therefore, it would show content added for top record only. Nothing else.


So, selecting  "TOP RECORD Managing director" would only show if there is a content for it, which would have been added separately via separate form and button.

236

(6 replies, posted in General)

Also a working project if any help. Used two Form1 but it should be done with one Form1 if possible.

237

(6 replies, posted in General)

Is it possible to have tree top record content only when top record is selected?
For all child records as it's current functionality.

238

(1 replies, posted in General)

Not sure if it's bug or not...

1. I choose a windings/sybols font and apply to selected text on RTF component.
2. Then I try to change to standard font such as "Brandish"
3. It doesn't change to selected font, stays with some windings font


screen cap:

239

(3 replies, posted in General)

Hi Dmitry,


Great stuff as always.
Thank you very much..........
Truly appreciated..............

240

(3 replies, posted in General)

I was trying to add memo display on grid using mousedown event.

Found the following code from Dmitry for one of Derek's project:

procedure Form1_TableGrid1_OnMouseDown (Sender: string; MouseLeft, MouseRight, MouseMiddle: boolean; Shift, Alt, Ctrl: boolean; X, Y: Integer);
begin
  form1.memo1.Text := sqlexecute('select message from phonecalls where id =' +inttostr(Form1.TableGrid1.dbIndexToID(Form1.TableGrid1.GetRowAtPos(x,y))));
  form1.panel1.Visible := true;
end;

It works fine but when clicked on grid where a row doesn't contain data; it produces "List index out of bounds" message. Is there a way to eliminate it?

241

(32 replies, posted in General)

Hi Derek,


Thank you very much for the revised version showing new stuff - at least for me....
Truly appreciated............

242

(32 replies, posted in General)

sibprogsistem wrote:
if  Form1.TableGrid1.dbIndexToID(Form1.TableGrid1.GetRowAtPos(x,y)))<>'' then

then what?

243

(32 replies, posted in General)

I was trying to add memo display on grid by mousedown event.

Found the following code from Dmitry:

form1.memo1.Text := sqlexecute('select message from phonecalls where id =' +inttostr(Form1.TableGrid1.dbIndexToID(Form1.TableGrid1.GetRowAtPos(x,y))));

It works fine but when clicked on grid where a row doesn't contain data; it produces "List index out of bounds" message. Is there a way to eliminate it?

244

(32 replies, posted in General)

I have put together two versions of Eisenhower Matrix using Derek's and EHW's script.


Version 2 is RTF based simpler approach.


Version 3 is based on Derek's and EHW's samples. Added extra grid (main grid for projects). This way we can have Eisenhower Matrix for each projects separately. I have managed to connect grids using Derek's helpful past sample projects. However, I'm not sure if everything implemented correctly or not. All improvements, inputs and corrections are welcome.


ps/. I used one of my template project which includes app password (thanks to EHW) and some other features not directly relevant to this project.

245

(32 replies, posted in General)

Hi Derek and EHW,


Thank you both for your very helpful sample projects....


What about adding an another table (Projects) so that each project can have their own quadrant.
I couldn't connect all tables as needed.

246

(32 replies, posted in General)

Who can create a best Eisenhower matrix app with MVD and post on this thread?


The idea is that by prioritizing todo's to improve productivity.
I imagine use of monthly calendar could also be included.

247

(6 replies, posted in General)

Thanks... will be looking forward to it.

248

(6 replies, posted in General)

1. Ability to move main / child /child of child etc. Moved nodes stays until changed.
2. Adding icons and flags to all nodes
3. Changing font face / color and style of nodes individually.


There are more but the above ones would be enough for a start.

249

(6 replies, posted in General)

Thanks for the reply Dmitry...


Is there any plan to develop tree component further to add proper tree functions or replace it with a proper tree component?

250

(6 replies, posted in General)

How can I change Treeview first item "None" to "Root" etc?