Search found 16 matches

by Linh
Wed Mar 28, 2012 5:12 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: how to find string using wild card?
Replies: 5
Views: 4820

Re: how to find string using wild card?

Thanks BvG, matchChunk is really nice.
by Linh
Mon Feb 13, 2012 9:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Image Library in LiveCode
Replies: 1
Views: 2016

Image Library in LiveCode

Hi, I need your kindly help about Image Library in LiveCode. I developed a application in LiveCode. I added some icons to Image Library of this stack and used them for my application, then I deleted all physical files of those icons in my computer accidentally. Those icons still display on the old a...
by Linh
Wed Dec 07, 2011 8:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create new object by code
Replies: 9
Views: 7288

Re: Create new object by code

I found the solution

Code: Select all

   clear card 2 of this stack
   create card "normal_page"
Anyway thank you guys!

Linh
by Linh
Wed Dec 07, 2011 7:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create new object by code
Replies: 9
Views: 7288

Re: Create new object by code

I'm sorry to ask you again. How could I delete all fields of a card by code? I tried 'select' and 'delete' keyword, but I only could delete one field / a time. Is there any keyword to select and delete all fields of a card?

Regards,
Linh
by Linh
Wed Dec 07, 2011 2:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create new object by code
Replies: 9
Views: 7288

Re: Create new object by code

Thank you very much. You're beautiful!
by Linh
Fri Dec 02, 2011 5:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create new object by code
Replies: 9
Views: 7288

Create new object by code

Good morning,

I want to create a new label object by code, not drag and drop from tools. Could I decide position, text color, content and name of this label? I tried to search, but I can't find any document about this, so I have to bother you guys again :(.

Thank you,
Linh
by Linh
Tue Nov 01, 2011 4:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I create a data grid with a variable height?
Replies: 12
Views: 8536

How do I create a data grid with a variable height?

Hello, I need to create a data grid with a variable height (variable height of the data grid, not height of lines in data grid). Note: This data grid is in a line of another data grid. I thought it's similar to create a variable line heights, but it did not work in my case. This is my code: put the ...
by Linh
Tue May 17, 2011 10:43 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Upload and download file in LiveCode
Replies: 0
Views: 1413

Upload and download file in LiveCode

Hi everybody, I use MySQL database. In my app, user could upload a file from their computer, and the app will save it in server. User also could download the file from my app. But I don't know how to work with the BLOB type of MySQL in LiveCode. Do you have any experience with it? Thanks a lot! Chee...
by Linh
Mon May 16, 2011 5:55 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid Error: column template
Replies: 5
Views: 3578

Re: Datagrid Error: column template

Hi Klaus,

I understand why I can't sort by that column at the openCard. Because the text of one line in that column have enter (CR), so LiveCode can't sort by that column :D
by Linh
Sun May 15, 2011 3:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I export a .pdf report?
Replies: 2
Views: 3984

How do I export a .pdf report?

I'm developing my first application in LiveCode. I tried with .csv file, but I want group some common data, .csv file can't do, for example: Column 1: Product LiveCode 4.6.1 Column 2: Users Linh Trevor Lee David In this example, .csv file will create 4 rows with the same data in first column. Could ...
by Linh
Sat May 14, 2011 1:25 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid Error: column template
Replies: 5
Views: 3578

Re: Datagrid Error: column template

Hi Klaus, I put this in openCard: set the dgProp["sort by column"] of group "dtgContractList" of card "contract_list_card" of stack "ListStack" to "product_title" set the dgColumnSortDirection["product_title"] of group "dtgContractList" of card "contract_list_card" of stack "ListStack" to "ascending...
by Linh
Sat May 14, 2011 8:05 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid Error: column template
Replies: 5
Views: 3578

Re: Datagrid Error: column template

Thank Klaus (again :D, you always help me - and other guys - when we post any question, and your answers are very useful 8) )! I try to restart, but the bug still appear. So I delete the old datagrid and create a new one. The problem is the default sort by column :D. LiveCode has bug when sort one c...
by Linh
Fri May 13, 2011 9:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid Error: column template
Replies: 5
Views: 3578

Datagrid Error: column template

Hi guys, I use a table datagrid. Yesterday, everything is still OK, but today I open the card again, and there is a error has occurred: "An error has occurred in behavior for the column template: Chunk: error in object expression" "Edit Script" or "OK" I click "Edit Script" and LiveCode open code of...
by Linh
Mon May 09, 2011 2:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to open large size image
Replies: 4
Views: 5041

Re: How to open large size image

Thank Klaus so much!! You're so nice 8)
by Linh
Sun May 08, 2011 3:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to open large size image
Replies: 4
Views: 5041

Re: How to open large size image

Thank Klaus. This seems like an excellent solution :) .

I wonder that could we resize the image when the size of card is changed by user?