Search found 208 matches

by keyless
Fri Jan 16, 2009 9:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Image export
Replies: 2
Views: 2171

Image export

I resize an image so it fits on a card, but when I export it I want it to be full original size. I have two options for getting the image out, one sets the clipbardData to the image, the other is an export of the image to a jpg file. The clipboard process works fine, the image pastes as the original...
by keyless
Fri Jan 16, 2009 6:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Image doesn't resize in standalone
Replies: 2
Views: 2030

I have no pre anything scripts, handler is called from mouseup script. All it does is brings in an image, then it resizes (resize is a separate handler), keeping it proportional and no larger then the graphic I am placing it over. I'll post script or maybe a demo stack when I get some time. I think ...
by keyless
Thu Jan 15, 2009 5:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Image doesn't resize in standalone
Replies: 2
Views: 2030

Image doesn't resize in standalone

Using rev 2.8.1 I'm using this code in a stack to resize a image. set the height of last image to pNewH set the width of last image to pNewW It works fine in rev, but when I make a standalone the image doesn't resize. ***update I added a field and added some code that dumped the variables into the f...
by keyless
Mon Jan 05, 2009 4:54 am
Forum: Windows
Topic: Odd error, Slow app launch times - but only on some systems
Replies: 3
Views: 3760

never experienced anything like that, but off the top of my head, are there any issues with quicktime on the two PC's this is occurring on?
by keyless
Thu Nov 27, 2008 6:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy group below existing groups (with scrollbar)
Replies: 3
Views: 2439

set topleft of... to bottomleft of.... just wondering now how to add a little space between the two how about put the bottomleft of ... into tbottom add 2 to item 2 of tbottom -- or whatever space you like set the topleft of .... to tbottom is it this what you want? bernd Yes that is looking like e...
by keyless
Wed Nov 26, 2008 10:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy group below existing groups (with scrollbar)
Replies: 3
Views: 2439

Hmm not one reply. Would have thought this was a popular thing to do. Anyway I think I found my answer

set topleft of... to bottomleft of....


just wondering now how to add a little space between the two
by keyless
Mon Nov 24, 2008 8:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: copy group below existing groups (with scrollbar)
Replies: 3
Views: 2439

copy group below existing groups (with scrollbar)

Any good example stack or code for this... I've got a place where a user needs to enter a word into a field, and it should create a group of the text entered and two buttons beside it, below previous groups. This collection of groups will have a scroll bar because it will get sort of long (I am awar...
by keyless
Wed Nov 12, 2008 7:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Import image
Replies: 1
Views: 2053

Import image

I'm having a beast of a time referencing a image file and the setting it as the backdrop. (windows)

Im trying:

Code: Select all

  put "binfile:C:\Documents and Settings\HP_Administrator\Desktop\picture.jpg" into path
  set the filename of image ID 1041 to path
  set the backdrop to 1041
by keyless
Fri Nov 07, 2008 12:36 am
Forum: Multimedia
Topic: draw arrow and keep it editable.
Replies: 3
Views: 4720

Thanks Jan, I modified your code to be On MouseEnter for the image I want them to be able to draw the arrow on. This and added A On MouseLeave that chooses browser tool, allows me to constrain where the user can start the line from. I'll have to figure out how to keep them from drawing the line outs...
by keyless
Thu Nov 06, 2008 8:36 pm
Forum: Multimedia
Topic: draw arrow and keep it editable.
Replies: 3
Views: 4720

Ok I think I am on the right path. I see that I need to choose the image tool to start the drawing proccess for the line. I can't tell from the info under "choose" in the documentation, how to properly set the style of the image to a line. Can I do this in the button before the user draws, or do I h...
by keyless
Thu Nov 06, 2008 7:18 pm
Forum: Using Externals
Topic: Basic stack call to a .dll
Replies: 8
Views: 13786

It is straightforward to write a Revolution External wrapper for any DLL, refer to Mark Waddingham's write up on how to write externals for Revolution. His article includes a stack that will create an xcode or visual studio project for you, so that all that is required is to write some functions to...
by keyless
Wed Nov 05, 2008 6:49 pm
Forum: Multimedia
Topic: draw arrow and keep it editable.
Replies: 3
Views: 4720

draw arrow and keep it editable.

For a presentation screen, I want to make it so user can place an arrow pointing to any of the objects on the card. This is easy in the IDE with the line tool, but how do I make it so the user can do it in the application? and also keep it editable so the user could change where it is pointing later...
by keyless
Wed Nov 05, 2008 6:20 pm
Forum: Building Externals
Topic: Creating a wrapper for an existing dll
Replies: 10
Views: 13235

Creating a wrapper for an existing dll

I'm having some trouble getting my head around using existing .dll libraries with Rev (as external, not using VBscript). Building external info is farely scattered around and seems dated, but I've gathered what I can, but most seems to be about building a new external. I'm more interested in a wrapp...
by keyless
Wed Oct 29, 2008 7:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: alternating row colors
Replies: 5
Views: 3592

Does anyone know which method was used in the Rev 2.8.1 documentation stack for the dictionary and glossery?
by keyless
Wed Oct 29, 2008 4:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Skinning Issue on Windows
Replies: 5
Views: 3991

SparkOut wrote:I can confirm exactly the same behaviour here on Windows XP. A stack with a custom window shape appears not to minimise to the taskbar when the iconify of the stack is set to true, in v. 2.9 or greater. 2.8.1 it works fine.
Thanks SparkOut. Anyone using 2.9 or 3.0 that this doesn't happen with?

Go to advanced search