Здавалка
Главная | Обратная связь

SetPropertyValue(H,PropertyName,NewValueH,ArgsArray)



This function allows you to set a property on a native object

H - A native object

PropertyName - The name of the property

NewValueH - The new value of the property

ArgsArray - The array used to send parameters, or ""

Возвращает - Истина if it worked, Ложь if it failled

ToNativeArray(Array)

Return a native array from a Small Basic array

Array - A Small Basic array

Возвращает - An Object() array

ToNativeBoolean()()

Return a native boolean from another object

ToNativeDouble()()

Return a native double from another object

ToNativeInteger()()

Return a native string from another object

ToNativeString()()

Return a native string from another object

ToNumber(H)

Return the numerical value of a native object or a string

H - A native object obtained using the Interop module or a string to convert

Возвращает - A number (This function Возвращает 0 on error)

ToString(H)

Return the string value of a native object or a number

H - A native object obtained using the Interop module or a number to convert

Возвращает - A string (This function Возвращает "" on error)

ToTypedNativeArray(Array,TypeName)

Return a native array from a Small Basic array

Array - A Small Basic array

TypeName - The type of the array you want to create

Возвращает- An Object() array


FCKeyboard

This class provides support for the KeyBoard in Small Basic

Свойства

IsAltPressed

Indicate if the ALT touch is pressed

Возвращает - "Истина" или "Ложь"

IsControlPressed

Indicate if the CTRL touch is pressed

Возвращает - "Истина" или "Ложь"

IsShiftPressed

Indicate if the SHIFT touch is pressed Укажите, прессовано ли соприкосновение СДВИГА

Возвращает - "Истина" или "Ложь"

LastReceivedKey

Возвращает полученную последнюю клавишу из графического окна

Возвращает – Название клавиши


FCSettings

This class provides support for settings in your applications

Свойства

SettingFile()

Операции

ClearAll()

Deletes all property of the setting file

Get(PropertyName)

Return the value of the 'PropertyName' property in the setting file.

PropertyName - The property name

Возвращает - The value of the property, or ""

Set(PropertyName,StrValue)

Return the value of the 'PropertyName' property in the setting file.

PropertyName - The property name

StrValue - The value of the property, or "" to delete the property


FCXml

This class provides support for XML documents

Example

Here's an exemple how to use this object.

Code

'OBJECTIVE: Show the title of a well-formed XHTML page

'Load an XML document

XmlDoc = Xml.LoadXMLFile("MyPage.xhtml")

'Find the TITLE element

TitleElement = Xml.GetNode(XmlDoc, "//head/title")

'Show its text content

TextWindow.WriteLine(Xml.GetInnerText(TitleElement))

Операции

CloseDocument(DocH)

Close a document and free the memory used by this document

DocH - The document to delete from memory

DeleteNode(Node)

Delete a node from the document

Node - The node to delete







©2015 arhivinfo.ru Все права принадлежат авторам размещенных материалов.