Search found 717 matches

by quailcreek
Fri Sep 07, 2018 11:49 pm
Forum: Databases
Topic: Import Images From mySQL to a Datagrid Table
Replies: 4
Views: 535

Re: Import Images From mySQL to a Datagrid Table

Actually you can use dgText to populate a form DG. This is how I do it. put "SELECT FigureID, Condition, theDescription, bCodeNum FROM " & theCollection & " ORDER by bCodeNum" into tSQLStatement put revDataFromQuery(tab,cr, (the uDatabaseID of this stack) ,tSQLStatement) into tData put "ID" & tab &"...
by quailcreek
Wed Sep 05, 2018 9:53 pm
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 52
Views: 3499

Re: DataGrid2 - What do you like, what don't you like

Sphere,
When you populate the DG, I'm assuming in a PreOpenCard, add this after.
Again, sTheDataGridName is the name of your DG.

The very sluggish scowling with the native scroller has been added to the bug list. Hopefully it will be addressed soon.

Code: Select all

send "RefreshList" to grp sTheDataGridName
by quailcreek
Mon Sep 03, 2018 10:01 pm
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 52
Views: 3499

Re: DataGrid2 - What do you like, what don't you like

To get the native scroller to work set the Show vScrollbar/Show hScrollbar in the DG PI under the Data Grid tab to true or auto. But like I said, it still has some problems.
by quailcreek
Sun Sep 02, 2018 11:25 pm
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 52
Views: 3499

Re: DataGrid2 - What do you like, what don't you like

I don't think Android recognizes the scrollerBeginDrag and scrollerEndDrag handlers. That's one of the reasons LC is having trouble getting the native scroller to work x-platform. I did the test on my Android and no-joy. Works fine on iOS. So if you're using LC 9 rc 2, why aren't you using the nativ...
by quailcreek
Sun Sep 02, 2018 9:06 pm
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 52
Views: 3499

Re: DataGrid2 - What do you like, what don't you like

Hi Sphere,
I get the name of the scroller. I tested in LC 9 rc2 and LC 8.1.10
by quailcreek
Sat Sep 01, 2018 2:35 am
Forum: Mac OS
Topic: LiveCode-Indy_...".hang"
Replies: 2
Views: 809

Re: LiveCode-Indy_...".hang"

So what OS is on your mac?
What do you mean by "hangs"?
When does LC 9 crash? When you open a stack or when you just open LC9?
by quailcreek
Fri Aug 31, 2018 11:40 pm
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 52
Views: 3499

Re: DataGrid2 - What do you like, what don't you like

HI Sphere, You'll need to create a scroller for each DG and of course name the scrollers differently. on scrollerBeginDrag local tScoller put mobileControlTarget() into tScoller if tScoller is "theDataGrid_1" then set the dgHilitedLine of grp "UpSellList_DG" to empty -- if tScoller is "theDataGrid_2...
by quailcreek
Sun Aug 12, 2018 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Search Error Message
Replies: 13
Views: 543

Re: Search Error Message

Is stack "Search" a substack?
Where is your openCard script located?
by quailcreek
Thu Aug 09, 2018 7:29 pm
Forum: Talking LiveCode
Topic: LiveCode 9 and revSpeak (Mac 10.13, Win 10) Problems
Replies: 5
Views: 412

Re: LiveCode 9 and revSpeak (Mac 10.13, Win 10) Problems

Jens,
It would be helpful if you posted links to your bug reports here. That way others can track their progress too.
by quailcreek
Thu Jul 26, 2018 4:07 am
Forum: Android Deployment
Topic: fitting to screen size
Replies: 20
Views: 856

Re: fitting to screen size

If you're writing a mobile app try this.
Also look up fullscreenmode in the dictionary.

Code: Select all

on preOpenStack
  if environment() is not "mobile" then exit to top
  
  set the fullscreenmode of this stack to "exactFit"
end preOpenStack
by quailcreek
Sun Jul 15, 2018 11:36 pm
Forum: Android Deployment
Topic: SOLVED: Setting the textFont of a DG - Android
Replies: 4
Views: 247

Re: Setting the textFont of a DG - Android

I used to work CAD support at a large aircraft manufacture in the Seattle area. When a designer would call in with a problem with their computer, the first thing I would ask them "is it plugged in"? Generally they didn't get my humor. Thanks for the help, J.
by quailcreek
Sun Jul 15, 2018 8:33 pm
Forum: Android Deployment
Topic: SOLVED: Setting the textFont of a DG - Android
Replies: 4
Views: 247

Re: Setting the textFont of a DG - Android

Hi J,
Once again you came to the rescue. The font was installed however the font name isn't the same as the file name. So freeSansBoldOblique becomes freeSans Bold Oblique. I won't mention my typo.
by quailcreek
Sun Jul 15, 2018 1:00 am
Forum: Talking LiveCode
Topic: How to edit Row Behavior of a Data Grid in LC 9.0.0
Replies: 2
Views: 223

Re: How to edit Row Behavior of a Data Grid in LC 9.0.0

Are you using a form or table DG?
by quailcreek
Sat Jul 14, 2018 11:53 pm
Forum: Android Deployment
Topic: SOLVED: Setting the textFont of a DG - Android
Replies: 4
Views: 247

SOLVED: Setting the textFont of a DG - Android

Hi, I have a DG table and I'm trying to set the textFont to FreeSansBoldQblique based upon the value of a column (Row_Style) in the grid. I have set the Rowtemplate to a custom button. The font is installed. In a preOpenStack script I set the textFont on several fields in the stack and that works on...
by quailcreek
Thu Jul 12, 2018 9:47 pm
Forum: Talking LiveCode
Topic: [SOLVED] Using scale factor, I cannot drag and drop items
Replies: 7
Views: 261

Re: [SOLVED] Using scale factor, I cannot drag and drop items

Interesting... I just posted a bug report on this. If the scale factor is higher than 1.8 the object is not added to the stack.

https://quality.livecode.com/show_bug.cgi?id=21416

Go to advanced search