26

(5 replies, posted in General)

Hello
I want to know How to use the fonctions insertfromstream and save to stream.

Thanks

27

(11 replies, posted in General)

hello
perfect .Now it works like a charme.
i can even copy and past the dbgrid without adding any peoceduee in the script. and it is colored automatically. it can be usufull in other project where there is many components sharing the same procedure ou method. it will work just by copy and past the component in the form.
Geeat work Mr Administrator. and have a nice day to all MDV funs

28

(11 replies, posted in General)

Thank you very much.
This is what i wanted: a working TObject parametre.
I will give it a try.
smile

29

(11 replies, posted in General)

hello
for Administrator. i want to know if it is possible or not
thanks.

30

(11 replies, posted in General)

thak you. domebil for your help.
but there is 2 added precedures in the script.
I wanted a universal procedure with just a sender as parametre.
i tried (sender:TObject) but  same error message .
i think that it works in delphi. but i dont know why it do not work in MDV .

thanks a lot. againe

31

(11 replies, posted in General)

hello
for ehwagner:  thanks for your try..  the sender parametre should be the component who rased the event. the name of the procedure is pasted in the project explorer in. the onchange fiel.

for domebil: same error message

any other help is welcome. i need this because it is usefull in the case where ther is many dbgrids in the form. i want just to past the name of the procedire int project explorer.

32

(20 replies, posted in General)

good news  smile

33

(11 replies, posted in General)

thank you ehwagner for your response but. is there any other solution without adding procedures on-change , on-aftersort ..... on the script file.
i mean i want just make modifications in the alternate-color procedure.
thanks.

34

(11 replies, posted in General)

hello
whene i wanted to alternate colors of a dbgrid.  there is a message (could not convert variant of type olestr into type boolean)
this is the procedire
procedure Alternate_color( sender:TdbStringGridEx);
var
i,j,maxcol,maxline:integer;

begin

maxline:= sender.rowcount-1;
maxcol:= sender.Columns.Count-1;
for i := 0 to maxcol  do
begin
   for j := 0 to maxline do
   begin
     if (j mod 2)=0 then sender.Cell[i,j].color:=$FFFFFF;
     if (j mod 2)=1 then sender.Cell[i,j].color:=$FFEEEE;
   end;
end;

end;

is there a metjode to do that.
Thank you

35

(9 replies, posted in Script)

thank you for your example.

36

(9 replies, posted in Script)

hello
thank you ehwagner for this solution. I will try to use it . But it would be more easy if there was a function to simulate a key in one button . Especially whene there is a large number of fields in the form.

37

(9 replies, posted in Script)

thank you for response.
first you say that i coud not use it with a button.

second i want to simulate a numpad keys in my form. to input numbers to multiple fields.
i m using a tablet. so i dont want to use the embaded  virtual keybord to save space.

38

(9 replies, posted in Script)

Thank you.
but i mean  how to send a key to the form or a combinition of keys. like "keybd-event" or "sendkey()".
i dont want to use pc keybord in  my application.

39

(9 replies, posted in Script)

Hello MVD funs
please how can i create a button to simulate a tab key or a tab+shift key.
I want to move selection from one editbox to an other by that button.
Thabk you.

40

(1 replies, posted in General)

hello.
I have a general question.
why there is not new visual coponents like charts . tbitbuttons, radio buttons, menus. graphics ......?

All new implemented components are all manipulated by script.

and thank you .

41

(5 replies, posted in General)

Hello
Thank you very much Dmitry
for your quik reply
it s a great forum.

42

(5 replies, posted in General)

hello jean

thank you for help
i will try them all.

43

(5 replies, posted in General)

hello
is there a possibility to elliminate the first empti field in the combobox when droped down
i want to use it as autocomplete. but without the impti first white field .
thank you .

44

(1 replies, posted in General)

hello
i m usung demo version. MDV 3.3
Whene exporting my dbgrid to csv file., what i found is numbers. only number but not word written on the grid.
I think the export function has exported the table in the data base with just the foreng keys.
is it a bug?
with older versions the was not that problem.

45

(2 replies, posted in Reports)

Thank you very much
it do exactelly what i want
have a good day

46

(2 replies, posted in Reports)

hello .
i created a button to open a report in a doc file. but the file is saved in a temp folder and have a numbred name.
can i specify the default folder for the exported file. and can i also name it than open it.
thank you.

47

(2 replies, posted in Reports)

Thank you. very much smile

48

(2 replies, posted in Reports)

hello.
how can i change text of checkboxes in mdv from yes,no to true,false. because in reprt,
checkboxes can not undrstand them. they only understand true or false.
thankyou

49

(31 replies, posted in General)

hi
in the alpha version 3.01
1 the colors af the lines of the grid that i created by script are wrong
2 whene i creat an exel table. colombs are all numbers (foreng keys)
thank you

50

(2 replies, posted in Reports)

Thank you very much for your quik replay.
good job.