Hello,
Please, send me your project to support@drive-software.com
My Visual Database → Posts by DriveSoft
Hello,
Please, send me your project to support@drive-software.com
Видимо я что то напутал, загрузил на сервер снова, попробуйте еще раз:
http://myvisualdatabase.com/thank_you_f … ading.html
1.
Немного переписал код для определения размера колонок, также добавил в программу свойство ClientWidth для компонента TableGrid
Пожалуйста, скачайте снова версию 1.50
http://myvisualdatabase.com/thank_you_f … ading.html
2. К сожалению со скролом ничего сделать нельзя.
Исправленный проект приложил к сообщению.
Пожалуйста, скачайте снова версию 1.50, внес некоторые изменения
http://myvisualdatabase.com/thank_you_f … ading.html
Для необходимых текстовых полей (Edit) установите свойство NumbersOnly = True
теперь десятичный разделитель будет выбираться автоматически, в зависимости от региональных настроек.
gozalovsamir
Спасибо, исправил, скачайте проект снова:
http://myvisualdatabase.com/forum/misc. … download=1
К сожалению в вашем сообщении нет проекта.
Приложите к сообщению проект (zip файл без exe и dll)
Отправил вам на емейл исправленный проект.
nikolai_nn
Добавил кнопку с надписью SQL Query
You can get total from footer of TableGrid and then copy it to textbox.
Example:
procedure Form1_TableGrid1_OnChange (Sender: string);
begin
Form1.Edit1.Text := Form1.TableGrid1.Columns[0].Footer.Caption;
end;
v_pozidis
You can see total in footer of TableGrid.
I sent the project to you.
1.
SQLExecute('DELETE FROM ena');
used to delete records in a table
2.
Please, download example project
http://myvisualdatabase.com/forum/misc. … download=1
I added this feature in the version 1.50
I added this feature using script.
Please, download again latest version:
http://myvisualdatabase.com/thank_you_f … ading.html
Example:
Hello,
Unfortunately, this is not supported.
Montenegr0
Send me your project, with description of search
support@drive-software.com
timlitw
Please, send me your project to support@drive-software.com
with description of problem.
You can return data using functions, example:
function GetSum (a, b: integer): integer;
begin
result := a+b;
end;
procedure Form1_Button1_OnClick (Sender: string; var Cancel: boolean);
var
c: integer;
begin
c := GetSum(2, 3);
ShowMessage(c);
end;
Sender - is the name of the component that generated the event.
This is necessary when using a single event multiple components.
nikolai_nn
Готово
another question, if i put my froms sizeable, if i maximize them they maximize the window, the buttons and everything else will be at the same size.
is there any way to maximize the window and everything "adjusts" to the size of the window?
Every component have property Anchors which defines the behavior of the component when the window is resized.
hello,
in the example PhoneBook for example, is there any way to search all the options only in one TextBox?
You can do it using SQL Query, example project:
http://myvisualdatabase.com/forum/misc. … download=1
Hello,
I made example for you:
Hello,
Example:
var
PrevAction: string;
procedure frmEmployee_OnShow (Sender: string; Action: string);
begin
PrevAction := Action;
end;
procedure Form1_GridEmployees_OnChange (Sender: string);
begin
if PrevAction = 'NewRecord' then
begin
PrevAction := '';
Form1.GridEmployees.dbItemID := Last_Insert_id('employees');
Form1.GridEmployees.ScrollToRow(Form1.GridEmployees.SelectedRow);
Form1.GridEmployees.SetFocus;
end;
end;
Also you can download example project
Можно, например так
Form2.Edit1.Text := Form2.ComboBox1.Text + ' ' + Form2.ComboBox2.Text + ' ' + Form2.ComboBox3.Text + ' ' + Form2.ComboBox4.Text;
К сожалению это вряд ли получится, но вы можете редактировать файл script.pas любым редактором, только при запуске проекта через MVD, файл script.pas будет перезаписан содержимым на вкладке "Скрипт"
Andrey.Padyukov
Пришлите пожалуйста ваш проект на support@drive-software.com
здравейте,възможно ли е збора от таблицата (Sum) 1600 автоматично да бъде вписан в поле (total All) което съм добавил.благодаря
Готово, в примере показал два разных способа, как это сделать.
My Visual Database → Posts by DriveSoft
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi