101

(3 replies, posted in General)

Change Key Tab To Enter For next Control
From Code in MVD 4.4

procedure Form1_Ctrl_OnKeyDown (Sender: string; var Key: Word; Shift, Alt, Ctrl: boolean);
begin
    if Key=13 then Form1.SetFocusNextControl;
end;

No Effect !
Bug????

I try edit script but error for click select sex male,female component checkbox
how to edit script ???

procedure Form1_CheckBox2_OnClick (Sender: string);
begin
Form1.CheckBox1.State := cbUnchecked ;
Form1.CheckBox2.State := cbchecked ;
Form1.Color := ClGreen ;
end;

procedure Form1_CheckBox1_OnClick (Sender: string);
begin
Form1.CheckBox1.State := cbchecked ;
Form1.CheckBox2.State := cbUnchecked ;
Form1.Color := ClBlue ;
end;

begin                                      

end.

103

(4 replies, posted in General)

Reference Original Example https://www.heidisql.com/
The author: Ansgar Becker

Original Screen
https://www.heidisql.com/images/screenshots/sql_help.png

MVD Screen
http://oi64.tinypic.com/2qav0x2.jpg

Learn Education Component
- Treeview
- Tsplitter
- Tdataset
- Tstringlist

Compile MVD Version 4.4 beta

104

(4 replies, posted in Script)

How to set Tmemo Or Script Show Original Content From Database ?
New line,tab Or Etc Help me please Like HeidiSQL Show Content
https://s17.postimg.cc/vwk3konnj/2018-05-06_2.png

Example 4.4 Beta Compile Only

Help ME Please !!!

105

(1 replies, posted in General)

https://s17.postimg.cc/uxyologz3/2018-05-06.png

106

(1 replies, posted in Script)

How To add sub items Treenode in items select  by script  help me please !

maximun show add items lv1
if add item more than lv 1 how to edit  ??


http://oi64.tinypic.com/3091ufn.jpg

107

(5 replies, posted in General)

http://oi63.tinypic.com/or0x9i.jpg
OK Fix It Work!
Thank You...

UM... little Question It because Show false ?
- Component  in MVD not support
or
- Text File in my Pc

108

(5 replies, posted in General)

How to Fix 
Text Encode Go And Back
Ansi <> Unicode<>UTF8

Or Add TEncoding  Component Class ,Add Function For converter  ???
Because When to read string or Insert to database it false ...
Help Me please For Support more language !

109

(5 replies, posted in General)

How to Fix script  load text  for support utf8 !

procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
var
opendialog : topendialog ;
begin
opendialog := topendialog.create(form1) ;
if opendialog.execute then
form1.Memo1.Lines.loadfromfile(opendialog.filename);
opendialog.free
end;
begin
end.

https://s17.postimg.cc/kmn29p1hb/2018-04-12_19_21_42.png

Text Example(jp utf8.txt)

ももたろう Momotarou 
Momotarou, the Peach Boy 

ISBN4-591-03701-0 C8739 P1000E 

Translation by Tom Ray and Hiromi Mochizuki (hiromi@hip.atr.co.jp) ももたろう momotarou 

page 2 

むかし、 むかし、 ある ところ に 
おじいさん と おばあさん が いました。 
おじいさん が 山(やま) へ 木(き) を きり に いけば、 
おばあさん は 川(かわ) へ せんたく に でかけます。 
「おじいさん、 はよう もどって きなされ。」 
「おばあさん も き を つけて な。」 
まい日(にち) やさしく いい あって でかけます。

110

(4 replies, posted in General)

Easy Example :
http://wiki.freepascal.org/TSplitter

https://s17.postimg.org/60nlaccbz/Image_005.png

https://s17.postimg.org/pii8qagzj/Image_006.png

procedure Form1_OnShow (Sender: TObject; Action: string);
var
splitter1,splitter2 : Tsplitter;
begin
Form1.Panel2.Align:= alLeft ;
Form1.Panel3.Align:= alClient ;
Splitter1:=TSplitter.Create(Form1);
with Splitter1 do begin
Splitter1.Name:='Splitter1';
Splitter1.Parent:= form1.Panel1;
Splitter1.Left:=100;
Splitter1.Align:=alLeft;
end;
Form1.Panel4.Align:= alTop ;
Form1.Panel5.Align:= alClient ;
Splitter2:=TSplitter.Create(Form1);
with Splitter2 do begin
Splitter2.Name:='Splitter2';
Splitter2.Parent:= form1.Panel3;
//Splitter1.Left:=100;
Splitter2.Align:=alTop;
end;
end;
begin
end.

I try test Component Map In MVD 4.0 Beta + world database
Question how to update  edit.text  when  maker in map real time
Or Can Show  Detail  label upper pin in map ???

-----
https://s1.postimg.org/11pla8vt27/2017-11-07_21_43_50.png

112

(3 replies, posted in Reports)

Example Error
When Cal In Report

https://s1.postimg.org/34qz787utb/2017-11-01_05_17_07.png

113

(3 replies, posted in Reports)

in report if  want ratio calculator
(A/B)*100

(5/200)*100 = 2.5
-- OK Normal result  Not Error
(A <>0 or A not null ) AND (B <>0 or B not null )

BUT

(0/100)*100 or (null/100)*100  or (null/null)*100
-- result Error And Report Engine Stop Running

how to protect or check value A,B before cal ?

114

(1 replies, posted in Script)

How to set size toolbutton in toolbar increase Height ,Width  ???
Help me please !!!


https://s1.postimg.org/65unijztxr/2017-10-31_14_01_01.png


i try input code but not effect

var
toolbar :ttoolbar;
toolbutton0 : ttoolbutton;
begin
toolbar := ttoolbar.create(form1);
toolbar.parent := form1.Panel2;
toolbar.Customizable  := True ;
toolbar.showcaptions := true;
toolbar.AutoSize := True ;
toolbar.Height := 80 ;
toolbar.ButtonHeight := 50 ;
toolbar.ButtonWidth := 100 ;

toolbutton0 := ttoolbutton.Create(Form1) ;
toolbutton0.Parent := toolbar ;
toolbutton0.Caption:= 'toolbutton0';
toolbutton0.Height := 50 ;
toolbutton0.Width := 100;
end;

115

(0 replies, posted in Script)

In project add image >> to in database(sqlite,mysql)
but effect Slow when report preview or call record
How To Image Resize Batch In Database small but have quality
(Size >> small)

116

(2 replies, posted in Script)

Thank You  nrmuduli
I find this function
Thank You Again...

117

(2 replies, posted in Script)

How to Create file and save(fontconfig.ini) for save setting and load (fontconfig.ini)  in application

118

(10 replies, posted in General)

Add Query For Create Group Header
https://s26.postimg.org/ijrvfz50l/2017-09-26_08_50_06.png

https://s26.postimg.org/ixt7fkp45/2017-09-26_08_51_08.png

119

(2 replies, posted in General)

Thank You  Dmitry.
It Easy For View Size .

120

(10 replies, posted in General)

Please Example Result Screen Want To Edit

Yes / No ?

https://s26.postimg.org/4o0lovbtl/2017-09-25_17_13_11.png


Or Create Dataset In Report Editor

https://s26.postimg.org/p0hsqugm1/2017-09-25_17_16_37.png

121

(10 replies, posted in General)

Please Attach Project Example

122

(2 replies, posted in General)

Form1.Caption := IntToStr(GetFileSize(application.exename));

How To Converter size to byte,mb,gb

123

(1 replies, posted in General)

- add TSynEdit in Component Class
because long text use Tmemo no have line number when edit value long it difficult

Help Please !!!

124

(7 replies, posted in General)

In   MVD  TableGrid  have class GridStyle : GsSlides

how to edit and show slide in tablegrid

http://dn.bergsoft.net/res/uploads/nextgrid-slide-style-tutorial/slides_sample.gif
Reference
http://dn.bergsoft.net/nextgrid-slide-s … torial.htm

125

(11 replies, posted in FAQ)

Thank You Dmitry.

Now Can Fix Problem Add Column Name In  Export data From Dmitry example code

 sl.Insert(0, 'lastname, firstname, salary, dateofbirth, isSmoke, comment');

Can  apply code modify to type loop

z := Results.FieldCount-1;
    For x := 0 to z do
    begin
        hsValue  := Results.Fields[x].FieldName;
        hsValues := hsValues + hsValue+',';
    end;
    if hsValues <> '' then SetLength(hsValues, Length(hsValues)-1);
    sl.Insert(0,hsValues);

Thank You Dmitry.  Again