Search found 15 matches

by vladoportos
Mon Oct 14, 2013 3:45 pm
Forum: Windows
Topic: Hookup to browser
Replies: 1
Views: 3022

Hookup to browser

Hello all, I'm still researching but here is my issue. I'm trying to create application that would hookup to my browser so when I click special link ( in my own web app ) it will execute local application, like notepad or open local directory ( new window on my desktop, the same one where I clicked ...
by vladoportos
Wed Jul 25, 2012 2:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Global variable is not so global :D
Replies: 5
Views: 5150

Re: Global variable is not so global :D

LittleGreyMan wrote:Vladimir,

You should read chapter 5.5 Variables of the User Manuel. One subchapter details the scope of variables.

(hey, nice way of writing RTFM, isn't it? :D )

HTH
I did read it some time ago :) and remembered to use global before global variable :D but you are right !
by vladoportos
Wed Jul 25, 2012 1:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Global variable is not so global :D
Replies: 5
Views: 5150

Re: Global variable is not so global :D

Thanks both its working, didn't know I have to declare it twice ( in every script )
by vladoportos
Wed Jul 25, 2012 12:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Global variable is not so global :D
Replies: 5
Views: 5150

Global variable is not so global :D

Hello all, I have a little conundrum here. I have datagrid in my program, and on its script there is this: on deleteKey if isEditedField is false then -- this is what I need to implement.. doDeleteLine -- delete selected line from datagrid and DB else pass deleteKey end if end deleteKey When I press...
by vladoportos
Tue Jul 10, 2012 8:33 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing the last empty column in datagrid
Replies: 7
Views: 5255

Re: Removing the last empty column in datagrid

Ok if somebody needs it than put it into

Code: Select all

on resizeControl
it will work accurately.

if I put it into

Code: Select all

on resizeStack
it would not update correctly with fast move ( if you drag the window too fast ) I rely don't know why is that.
by vladoportos
Thu Jul 05, 2012 5:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing the last empty column in datagrid
Replies: 7
Views: 5255

Re: Removing the last empty column in datagrid

ok so code for it is like this: -- put width of columns in variables ( last one is Meno ( name ) that we will set put the dgColumnWidth["Typ"] of group "dGrid" into sTyp put the dgColumnWidth["Vyrobca"] of group "dGrid" into sVyrobca put the dgColumnWidth["Kategoria"] of group "dGrid" into sKategori...
by vladoportos
Thu Jul 05, 2012 2:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing the last empty column in datagrid
Replies: 7
Views: 5255

Re: Removing the last empty column in datagrid

Thanks both, I thought it was something simple / strange :)

I will look in help how to resize the last divider to the right

Vlad
by vladoportos
Thu Jul 05, 2012 2:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 2nd datagrid is not resizing
Replies: 2
Views: 2620

Re: 2nd datagrid is not resizing

Aaah Marek so many thanks it solved the issue exactly, just had to add "pass preOpencard" in the end so my buttons work :D but really thanks !
by vladoportos
Thu Jul 05, 2012 10:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing the last empty column in datagrid
Replies: 7
Views: 5255

Removing the last empty column in datagrid

Hello all, This might be realy stupid question as I looked through this forum and nobody asked it before :) so either I'm doing something wrong or everybody figure it out... When I have datagrid with, lets say, 4 columns there is always 5th empty one... why is that ? Or better yet how I can get rid ...
by vladoportos
Thu Jul 05, 2012 9:08 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 2nd datagrid is not resizing
Replies: 2
Views: 2620

2nd datagrid is not resizing

Hello all, I'm making smal program to learn LiveCode and I have two cards in one stack, two buttons that switch between them and datagrid on each card in the middle. Datagrids have set geometry so when I drag the corner of stack, the left top corner stay in place and the right down corner moves, bas...
by vladoportos
Wed Jun 27, 2012 10:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating array
Replies: 6
Views: 5049

Re: Creating array

Thanks both, Daves solution is the simplest :D
by vladoportos
Tue Jun 26, 2012 10:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating array
Replies: 6
Views: 5049

Creating array

Hello all, I know this is a "noob" question but I'm kind of stack on it. I have small application that take all files from given folder and put it to DB ( SQLite ) and than display in Datagrid. What I'm trying to do is to have the type of file separated like exe, zip, jpg etc... but rom the list I c...
by vladoportos
Thu Jun 21, 2012 10:34 am
Forum: Talking LiveCode
Topic: Executing code after editing of one cell in datagrid is done
Replies: 4
Views: 3908

Re: Executing code after editing of one cell in datagrid is

Ahhh exactly what I was looking for !, many thanks
by vladoportos
Thu Jun 21, 2012 10:06 am
Forum: Talking LiveCode
Topic: Executing code after editing of one cell in datagrid is done
Replies: 4
Views: 3908

Re: Executing code after editing of one cell in datagrid is

Thats not exactly what I need as EditValue pKey is called before editing as far as I understand. What I want to do is have some action called after the editing is done. What I want to achieve is automatic update of SQLite which is reflection of data in datagrid, so when user edit one cell and add so...
by vladoportos
Wed Jun 20, 2012 8:27 pm
Forum: Talking LiveCode
Topic: Executing code after editing of one cell in datagrid is done
Replies: 4
Views: 3908

Executing code after editing of one cell in datagrid is done

Hello All, I have small application that I learn the LiveCode on and I'm stuck on one thing for now. I want to execute function after a datagrid cell is edited ( automatic so there doesnt have to be save button to press ) that would update SQLitle DB with data from datagrid.. I have the part where i...