Search found 35 matches

by shoshinsha
Tue Jun 23, 2015 9:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Native scroller: previous vScroll position
Replies: 3
Views: 1222

Re: Native scroller: previous vScroll position

Hi SparkOut, thanks! :) Setting the group vScroll to 0 doesn't really solve the problem, so I tried using your workaround, which is changing the blendLevel. It works! But the scroller position will not change sometimes (like, 1 in 4 times). I figured that changing the scroller offset (mobileControlS...
by shoshinsha
Mon Jun 22, 2015 11:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Native scroller: previous vScroll position
Replies: 3
Views: 1222

Native scroller: previous vScroll position

Hi All, Does anyone know how to save the last vScroll position of a mobile scroller and display the vScroll bar position on the last position after the scroller is recreated? I have a datagrid that will only show (for example) 10 records on the first time. When user clicks on the [Load More] button,...
by shoshinsha
Tue Mar 17, 2015 11:03 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid- Smooth scrolling of long list
Replies: 6
Views: 3489

Re: Datagrid- Smooth scrolling of long list

Hi Sri, Thanks for the script! I've made some modification to make the scrolling+selection work: local sStartPosition on mouseUp if the DGvScroll of grp "listA" <> sStartPosition then set the dgHilitedLine of me to empty exit mouseUp end if put the dgHilitedLines of group "listA" into theLine ... en...
by shoshinsha
Thu Mar 12, 2015 7:46 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid- Smooth scrolling of long list
Replies: 6
Views: 3489

Re: Datagrid- Smooth scrolling of long list

Thanks, Craig!
I've placed the handlers on each scrollbar "dgHScrollbar" and scrollbar "dgScrollbar", but still no luck ;(

Code: Select all

on mouseUp
   ##do nothing
end mouseUp

on mouseRelease
   ##do nothing
end mouseRelease
by shoshinsha
Wed Mar 11, 2015 11:08 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid- Smooth scrolling of long list
Replies: 6
Views: 3489

Datagrid- Smooth scrolling of long list

Hi All, I have a datagrid with long list of data in a stack. A scroller is created on opencard to enable scrolling of the datagrid, and then when one of the row is clicked (mouseUp), some actions will be taken (e.g. answer something). Script on the card: on openCard send "scroller_create" to me in 0...
by shoshinsha
Wed Feb 25, 2015 9:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling multiple stacks and datagrid
Replies: 0
Views: 660

Handling multiple stacks and datagrid

Hi! I'm compiling a mobile app that combines multiple stacks (not substacks), with one stack acting as the "library" (start using stack "s1"). I wanted to pass some data from the library stack (stack "s1") to another stack (e.g. stack "s2"), and place the data on s2's datagrid form. My problem is th...
by shoshinsha
Wed Feb 25, 2015 9:01 am
Forum: iOS Deployment
Topic: The app's Info.plist can't contain values for the UIRequired
Replies: 7
Views: 3332

Re: The app's Info.plist can't contain values for the UIRequ

Hi Neil, Hi Jacque,

Yes, you are right! After I have deselect the camera options and build the standalone, my app is able to be published.

Thanks for the help!
by shoshinsha
Fri Jan 23, 2015 11:09 am
Forum: iOS Deployment
Topic: The app's Info.plist can't contain values for the UIRequired
Replies: 7
Views: 3332

Re: The app's Info.plist can't contain values for the UIRequ

I've also tried to build the app with LiveCode 7.0.1, and changed the required feature from "Auto-focus Camera" to "Still Camera", not working... :( :( :(
by shoshinsha
Tue Jan 20, 2015 11:36 am
Forum: iOS Deployment
Topic: The app's Info.plist can't contain values for the UIRequired
Replies: 7
Views: 3332

The app's Info.plist can't contain values for the UIRequired

Hi, I'm getting the error "The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key that would prevent this app from opening on any iOS device. For more information, see Understanding the UIRequiredDeviceCapabilities Key." when I try to submit my app for review on iTunes Co...
by shoshinsha
Thu Jan 08, 2015 9:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort date grid by date items
Replies: 2
Views: 1016

Re: Sort date grid by date items

I figured that I can convert the date and time to seconds instead of converting to dateItems...
The way should work :wink:
by shoshinsha
Thu Jan 08, 2015 8:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sort date grid by date items
Replies: 2
Views: 1016

Sort date grid by date items

Hi, I have a Data Grid that contains a "date" field (converted to dateItems) per row. My problem is whenever I sort the datagrid by date, the dates are not sorted as ascending/descending as I wanted to. For example: dispatch "SortDataByKey" to grp "tgrid1" with "date", "international", "ascending", ...
by shoshinsha
Mon Jan 05, 2015 2:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reduce image resolution
Replies: 5
Views: 2428

Re: Reduce image resolution

It works! :D :D :D
Thanks, Will!!
by shoshinsha
Tue Dec 30, 2014 11:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reduce image resolution
Replies: 5
Views: 2428

Re: Reduce image resolution

Hi Simon, Thanks for the workaround. But if I use the set imagedata function my image will be broken after uploaded to the server... And the image is sometimes not "processed" (image area is shown as blank after taking a picture). The image could not be "reference" to another card too. On my stack: ...
by shoshinsha
Tue Dec 30, 2014 6:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reduce image resolution
Replies: 5
Views: 2428

Reduce image resolution

Hi All, Would like to know if there is any way to reduce image resolution? I'm using mobilePickPhoto to take/pick a photo, but the maxWidth and maxHeight parameters are only available on iOS devices. So I'm trying to figure out a way to do so for Android. Although I'm able to downsize the image "phy...
by shoshinsha
Fri Nov 28, 2014 3:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can't rotate images on mobile phone
Replies: 3
Views: 1088

Re: Can't rotate images on mobile phone

Hi Neil,

As I read on the dictionary for rotate command, its supporting platforms are: Desktop, Server, Web and Mobile, so I assumed that it would work on mobile devices...

Your workaround works well on mobile. Really appreciate your help and thank you so much! :D

Sincerely,
Vikki.

Go to advanced search