Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2005.01.30;
Скачать: CL | DM;

Вниз

Метод ObjNew компонента F1Book   Найти похожие ветки 

 
Пчелка ©   (2005-01-19 11:47) [0]

Добрый день!
Подскажите, пожалуйста, как работает метод ObjNew компонента F1Book? Мне нужно вставить в ячейку CheckBox. Что я должна написать? Заранее огромное спасибо!


 
Developerr   (2005-01-19 12:25) [1]

А какие собственно говоря пробемы? Открываем справку по Fomula One и смотрим ObjNew.

Вот пример вставки CheckBox"a

procedure TForm1.Button1Click(Sender: TObject);
var
 objID1: integer;
begin
 F1Book1.ObjNew(F1ObjCheckBox,1.25,6,3.5,2.7,objID1);
end;

Цифры - это координаты, куда нужно вставлять CheckBox.

objID - переменная, которая получает идентификационный номер объекта.

Description

Creates and adds an object to the active worksheet.

Syntax

F1Book1.ObjNew nType, nX1, nY1, nX2, nY2, pID

nX1, nY1 - Single - Coordinates that represent the first anchor point of the object. nX1 is measured in columns from the left edge of the worksheet; nY1 is measured in rows from the top edge of the worksheet.

nX2, nY2 - Single - Coordinates that represent the second anchor point of the object. nX2 is measured in columns from the left edge of the worksheet; nY2 is measured in rows from the top edge of the worksheet.

pID - Long - Variable, passed by reference, that receives the identification number of the new object.



Страницы: 1 вся ветка

Текущий архив: 2005.01.30;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.04 c
14-1105553691
GanibalLector
2005-01-12 21:14
2005.01.30
Открытое письмо болельщиков ФК "Металлист"


14-1105367916
Kerk
2005-01-10 17:38
2005.01.30
Переведите пожалуйста


14-1105255050
Yegorchic
2005-01-09 10:17
2005.01.30
Ну когда обновят www.DelphiGFX.mastak.ru?


3-1103973504
Step[B.M.]
2004-12-25 14:18
2005.01.30
Как с помощью SQL вывести 1 первый символ cтроки? испол. FireBird


4-1102606790
Иван2
2004-12-09 18:39
2005.01.30
Можно мне пример привести, как на окошке api текст написать?