26

(7 replies, posted in General)

Hello,

can anyone explain to me for what is GroupBox?


another question is for a project that i have, i have a combobox with two options (two names) and what i want is to when i select a name of that combobox a picture appears in the form, for example:

if i have a name Martin and John, if i choose john on the combobox it will appear the john photo and if i choose Martin it will appear Martin photo.

is this possible? is there a way to store those pictures in database and make the appear only when we select the name? or do i need to have the pictures in the project folder and make some code with the path to them?

thanks

27

(10 replies, posted in General)

And what if i have a button to open a directory? Is it possible?

28

(10 replies, posted in General)

And there is any way to go around with this? Anything to implement that have the same efect?

29

(10 replies, posted in General)

now i see that is becuse of the version that i'm using, what is the latest free version?

30

(10 replies, posted in General)

it says that dbInitialDir is a undeclared identifier.

31

(10 replies, posted in General)

can i have a DBfile that links to a folder, with a default path to that folder? (for example: C:\Test\)

for when i need to link this DBfile to a folder inside that folder (C:\Test\test1) i don´t need to search the entire way to there.

32

(20 replies, posted in General)

i send you an email with the project.

33

(20 replies, posted in General)

is it possible to have two comboboxes in one form saving the same information that was inserted on another form and save them?

for example

in form one i have two combobox and a button to show a form where i enter the informations that will display in the combobox, but in this form i only have one textbox.

after i enter the information in this texbox, the two comboboxes will display this informations, so far so good,

but if i have in the comboboxes for example"test" and "test1" after i save the form and open again it will only show "test" saved on both comboboxes.

what do i need to do to have two comboboxes sharing the same informations but save different informations when i choose?

34

(1 replies, posted in General)

Can anyone explain to me for what is showmodal?

Form1.showmodal;


thanks

35

(14 replies, posted in General)

Dmitry can you help me why is giving me this error?

36

(14 replies, posted in General)

when i try to use the script you give it sais that ExtractFileDir is a undeclared identifier sad

37

(14 replies, posted in General)

Thank you sooo much smile

If i have a DBfile with option to open file can i do what you said in the last post and copy the destination of that file to this dbfile? For open it with the program? Will be like this?


procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
begin
    OpenFile(ExtractFileDir(Application.ExeName)+'\Pdf_reports');
Form1.DBFile1.Text :='\Pdf_reports';
end;

38

(14 replies, posted in General)

and what about if i have a report button that  when i click on it will open a PDF file filled with the information i write in the database program and create a OnClick procedure to this button to after i click the button and opens the PDF stores it to a \Pdf_reports folder?

can anyone help me with this?

39

(5 replies, posted in Reports)

and a pdf file and "write" over it?

40

(14 replies, posted in General)

Hello jean.brezhonek, nice tip thanks,

can we do this with files instead of images?

for example, can i create a folder by script to store a pdf file for example like you did on your image example?

41

(5 replies, posted in Reports)

Hello,

I have a document created in office word, there is possibility to open it with fast report? to associate with my program and send the information entered in the software?

thanks

42

(4 replies, posted in General)

thanks, i try to do that but i miss some things that i now see on your example.

because we are talking about tablegrids, i have a idea:

in the example that i give in the first post, if i have a form with a information of a person and with a data file input, to store a image or a pdf for example, can i have a cell in a table grid that is red if i don´t save any file in "store file" field and turn green after i add a file and save that form?


Name|Age|Country|File Added
Paul   |  19 | China | Green
Mark  |  10  | England | Red

this means that in the form of the information of Paul i already add and save a file.

is this possible?

43

(4 replies, posted in General)

Hello,

is it possible to double click on a table grid cell and send the first two rows of that cell to a textbox in another form?


for example:

i have a tablegrid that receives information about a person from a Form called Info:


Name|Age|Country
Paul   |  19 | China
Mark  |  10  | England


i want to double click on Paul for example and send Paul, 19 to a TextBox of another Form called Person and show the information.

thanks.

44

(2 replies, posted in General)

thanks smile

45

(2 replies, posted in General)

Hello,

Is it possible to make a TextBox with the background color of the form? (clBtnFace)

thanks.

46

(3 replies, posted in General)

do you know where i can find some information about this? any tutorial or something like that?

47

(3 replies, posted in General)

Hello to all,

Can anyone tell me if there is any way to work with multiple windows of our database?

For example, i have a window with a table grid and if i click on New Record button it will open a new window for me to put the information that will be showed in tablegrid, but if this window is open i cannot do anything on the window where is the tablegrid like scroll down for example unless i close this window..

Is possible to work with multiple windows at same time?

48

(12 replies, posted in General)

is not what i really looking for.

i already sent to you my project with description wink is better that way.

49

(12 replies, posted in General)

where do i put those filters?

50

(12 replies, posted in General)

and how can i only show the items with 15 days to a certain date?


for example if i have a item with a date 01/10/2015 and the other with 25/04/2015. i want to have only in the report the item with the date 25/04/2015, because there are less than 15 days to this date.