51

(2 replies, posted in General)

Hi All,


I'm trying to use uses for splitting the script into multiple .pas files but getting an error.
Please see the sample project attached.

52

(4 replies, posted in General)

Hi  Vladimir,
Thank you very much for the additional info...

53

(4 replies, posted in General)

Hi k245,
Thank you very much for the information...
As you have suggested, issue was the old db in new project. After deleting old db issue has disappeared.

54

(4 replies, posted in General)

Hi All,


What reason(s) there may be for getting DB error saying:
"no such table: Items"


I have the DB table even though error message saying otherwise. The Error message appeared when adding a new text field.

55

(2 replies, posted in General)

Hi Derek,
It does it nicely..
Thank you very much............
Truly appreciated..........

56

(2 replies, posted in General)

Hi all,


How can I display full content of the editbox on mouse over. Something like as on tablegrid rows or hint display?

57

(5 replies, posted in General)

Thanks for the reply Derek...
Simpler solution is show/hide as you have pointed out.
Adding and deleting tabs will require to add/delete functional RTF or Memo fields at the least which is beyond me.
Once again thank you very much for your kind help and advice.

58

(5 replies, posted in General)

Hi Derek & JB,


Thank you very much guys.........
Truly appreciated......


I guess currently, it's not possible to delete and add new tabsheets beside renaming them by the end user?

59

(5 replies, posted in General)

Happy Easter to all.......


Is there any way to rename page control tabs by the end user?

60

(6 replies, posted in General)

sparrow wrote:

See example


Thank you very much sparrow....
That'll save me lots of clicks. Truly appreciated...

61

(6 replies, posted in General)

Hi Sparrow,
Source are different RTF apps and PDF.
Copied / Source RTF or PDF formats not required. I like to paste as in my specified font, style and color via script - the above post #1
I do not paste any pictures in MVD RTF as it doesn't compress pics which results in very large DB.
I insert the text Ctrl+C then Ctrl+V

62

(6 replies, posted in General)

I'm using the following script for RTF to use specified font rather than default.
However, when c/p from other than MVD RTF apps it always use the copied content font face, size and color. Is it possible to apply specified font after paste into MVD RTF?


frmItems.RichEdit1.Style.TextStyles[0].FontName := 'Segoe UI';
frmItems.RichEdit1.Style.TextStyles[0].Size := 12;
frmItems.RichEdit1.Style.TextStyles[0].Color := clBlack;
frmItems.RichEdit1.ApplyTextStyle(0);

63

(11 replies, posted in General)

Hi Derek,
I think I found the reason of not working your latest script update. It doesn't work with older saved RTF but works with RTF saved after updating the script.
Once again thank you very much for your help......
Truly appreciated......

64

(11 replies, posted in General)

Hi Derek,
Thank you very much for your suggestion.
Unfortunately, it didn't work for me.

65

(11 replies, posted in General)

derek wrote:

Hi Adam, Hi Sparrow,
I believe the problem is not that the .rtf file doesn't display when you run the program DIRECTLY (that is all good) but it's when you run it INDIRECTLY by first calling it from another program.
So
Application A works fine.
Application B (uses a tree view that lists all the applications that Adam has written);  click on a node in Application B that has a link (using 'openfile) to open Application A.  Application A opens okay but THEN try to view the .rtf  and nothing appears.
Not quite sure where the problem lies.
Derek.


Hi Derek and Sparrow,
Thank you very much for replies...
Derek describes my issue above very well.
Only slight difference is bookmarking app opens application by clicking on images as seen below:

https://thumbs2.imgbox.com/0c/04/bISK2w7y_t.jpg

66

(11 replies, posted in General)

Hi sparrow,
Please see attached sample project about how RTF files saved outside the DB


Hi Destiny,
Yes something like that, additionally using Treeview and tg for organization purposes.

67

(11 replies, posted in General)

Hi Guys,


I'm trying to put together a little utility for bookmarking (shortcuts) applications rather than using windows shortcuts.


It was going all OK but I noticed that when opening MVD apps RTF content is missing?
RTF files saved separately, not in DB.
I use:

procedure Form1_DBImage1_OnClick (Sender: TObject);
begin
OpenFile(Form1.edLink01.text);
end;

and shortcut used in edit box:
E:\08 Programs on E\QBookmarksSlim\QBookmarksSlim1.5.exe


Any idea what am I doing incorrectly?

Other apps seems to be loading OK


edit:
It seems that the issue with saving RTF files separately via script rather than in DB. Saving RTF files separately kindly provided by Derek. Perhaps Derek can offer a solution if possible.

68

(4 replies, posted in General)

Hi sparrow,


I was using Nitro 5 PDF for viewing and copying. I installed Foxit reader; c/p from it and all was OK. No empty spaces. I didn't think that problem originated from the PDF app.


Once again thank you very much for your help........
Truly appreciated.....

69

(4 replies, posted in General)

Hi sparrow,


Thank you very much for your kind help.


I wonder if you could make it work for the type of some PDFs I have.
I'm attaching sample PDF pages that doesn't work for your reference.

70

(4 replies, posted in General)

When I c/p text from PDF to MVD RTF I usually a lot of empty spaces. Like on the attached screen cap.
Is it possible to remove empty spaces on MVD RTF editor, by using button onClick event?

71

(6 replies, posted in General)

sparrow wrote:

You can try like this.
There is a side effect, the last column in TG.
Unfortunately the column must be visible. But it may not be active.
Maybe someone can suggest a better solution.


Hi sparrow,
Thank you very much for your kind help...
Truly appreciated..........


I have added following lines to avoid out of index error when clicked on empty tg without selected treeview item with record:

procedure Form1_OnShow (Sender: TObject; Action: string);
begin
Form1.TreeView1.SelectedRow:= 0;
Form1.bSearch.Click;
Form1.TreeView1.SetFocus;
end;

72

(6 replies, posted in General)

Thanks sparrow....
Having read, write, edit and delete functions on same form are much more useful for intended use.
Hopefully, there'll be solution...

73

(6 replies, posted in General)

Hi sparrow,
Thanks a lot for the reply...
However, I still couldn't get it work.
Would you be so kind to upload the working version of the "Tester1' please..........

74

(6 replies, posted in General)

Happy New Year to all..........


I have this simple testing utility using treeview and editable tablegrid but couldn't get it working.
- cannot save and display tg records under selected treview node.


Here is the sample app:

75

(0 replies, posted in General)

Hi Derek,

The following solution you have kindly provided returns "List index out of bound".
Not sure but I guessing that it occurs when there are only top level nodes, no child nodes.

procedure Form2_OnClose (Sender: TObject; Action: string);
begin
  form1.treeview1.collapseall;
  form1.treeview1.expandnode(form1.treeview1.selectedrow);
  form1.treeview1.Expanded[form1.treeview1.selectedrow] := true;
end;