Search found 573 matches: usage

Searched query: usage

by Antonio Linares
Sat Feb 08, 2025 8:35 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Create shortcut for accessing URL
Replies: 5
Views: 1722

Re: Create shortcut for accessing URL

... Chr(13) + Chr(10))
FWrite(hFile, "URL=" + cURL + Chr(13) + Chr(10))
FClose(hFile)
ELSE
? "Error creating file:", cFileName
ENDIF
RETURN

// Usage:
CreateURLShortcut("MyWebShortcut.url", "https://www.example.com")

or maybe this:
PROCEDURE CreateLNKShortcut(cLnkPath, cURL)
LOCAL oShell ...
by TomH
Tue Jan 28, 2025 3:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: new Class TDeepSeek in next FWH 24.12
Replies: 16
Views: 35370

Re: new Class TDeepSeek in next FWH 24.12

... and API, with some users reporting issues with logging in or registering. Despite this, DeepSeek stated that it has taken measures to ensure normal usage for existing users and expressed gratitude for their understanding and support.

4.History of Security Vulnerabilities
It is worth noting that ...
by Antonio Linares
Fri Jan 24, 2025 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

240. MakeTotals( aCols )

Description: Accessor for MakeTotals (same as DATA member, method version for codeblock usage).

Parameters:

aCols: ARRAY - Columns array.

Return Value: None

Usage Example: (Internal use only - method version for codeblock usage)

241. SaveTotals( lBlank )

Description ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting


95. Edit( lNew, cFieldList, lSourceData, lNavigate, aInitVals, bSetup ) (Continued)

Return Value: OBJECT - Returns the TXBrowse object (Self).

Usage Example: (Used internally, calls either EditSource or EditBrowse based on parameters)

96. Delete( lMsg )

Description: Deletes the current record ...
by Antonio Linares
Fri Jan 24, 2025 10:28 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... as a PDF .

Methods of the TXBrowse Class

Here's a detailed list of the methods of the TXBrowse class, including parameters, return values, and usage examples:

1. New( oWnd )

Description: Constructor for the TXBrowse class. Creates a new TXBrowse object as a child of the specified window ...
by Antonio Linares
Sat Jan 18, 2025 10:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... class is designed to work seamlessly with **FiveWin's event-driven architecture**, making it easy to handle user interactions.

---

### **Example Usage**
```xBase
// Create a new TControl instance
oControl := TControl():New()

// Set the control's position and size
oControl:Move(100, 100, 200, 50 ...
by Antonio Linares
Fri Jan 17, 2025 11:09 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... in a FiveWin environment, which is a framework for developing Windows applications in xBase languages (such as Clipper or Harbour).

### Example Usage

```xbase
// Copy text to clipboard
oClip := TClipBoard():New()
oClip:SetText("Hello, World!")
oClip:End()

// Retrieve text from clipboard
oClip ...
by Antonio Linares
Fri Jan 17, 2025 11:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... nested values.
- Handles errors gracefully using a `TRY...CATCH` block.
- **Returns**: The extracted value from the JSON response.

---

### **Usage Example**

```harbour
// Initialize the TChatgpt object with your API key
oChat := TChatgpt():New( "your-api-key-here" )

// Set the prompt
oChat ...
by Antonio Linares
Fri Jan 17, 2025 11:04 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... The `GetNewId()` method ensures each event has a unique identifier, which is useful for tracking and managing events in the calendar.

---

### **Usage Example**

```xBase
// Create a new calendar event
oEvent := TCalInfo():New( oCalex, 9, 10, Date(), Date(), "Meeting with Client", "Client Meeting ...
by Antonio Linares
Fri Jan 17, 2025 10:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... menus for additional functionality.
6. **Event Handling**: Handles mouse and keyboard events, including clicks, focus, and key presses.

---

### **Usage Example**

```clipper
// Create a new bitmap button
oBtn := TBtnBmp():New( 10, 10, 100, 30, "normal.bmp", "pressed.bmp", ;
{ || MsgInfo("Button ...
by Antonio Linares
Fri Jan 17, 2025 10:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... to be passed to the code block.
- **Returns:** The result of evaluating the code block, or `nil` if `::bBlock` is `nil`.

---

### Example Usage:

```clipper
// Create a new TBlock instance with a code expression
oBlock := TBlock:New( "{ |x, y| x + y }" )

// Evaluate the code block with ...
by Antonio Linares
Fri Jan 17, 2025 10:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... None.

#### **7. `Destroy()`**
- **Purpose**: Destroys the bitmap and releases resources.
- **Parameters**: None.
- **Returns**: None.

---

### **Usage Example**

```xbase
// Create a new bitmap control
oBitmap := TBitmap():New( 10, 10, 200, 150, "MYBITMAP", "C:\Images\MyImage.bmp", .F., oWnd ...
by Antonio Linares
Fri Jan 17, 2025 10:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... bar corresponding to the selected tab. This method is called internally when a tab is selected, ensuring that the correct bar is displayed.

#### Usage Example
```xBase
// Assuming oWnd is a valid window object
LOCAL oBarTabs := TBarTabs():New( oWnd, 100, 30, { "Tab1", "Tab2", "Tab3" }, { "bmp1.bmp ...
by nageswaragunupudi
Tue Dec 24, 2024 8:02 am
Forum: FiveWin for Harbour/xHarbour
Topic: Open XLS without Excel
Replies: 11
Views: 1454

Re: Open XLS without Excel

... Cells( nCurrentXlsRow, 88 ):Value

Thanks Again for your support!

Is your Excel file XLS or XLSX ?
If this is XLSX we can use our new class:
Usage:

oSheet := FW_OpenXlsx( cFileNameXlsx)

nCurrentXlsRow := 19000 // or any
cValue01 := oSheet:Cells( nCurrentXlsRow, 2 )
cValue02 := oSheet:Cells ...
by nageswaragunupudi
Tue Dec 24, 2024 4:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: New: Read/Edit/Save XLSX files without Excel/ADO
Replies: 2
Views: 659

New: Read/Edit/Save XLSX files without Excel/ADO

... under release enable reading, modifying and also saving the changes (to another xlsx file) without Excel or ACE OLEDB installed on the PC.

Simple Usage:
FW_ShowXLSX( cFileXlsx, [cSheet] ) // --> oXlsx object

Examples:
FW_ShowXLSX( "customer.xlsx" )
https://imagizer.imageshack.com/v2/xq70/922 ...