Hi Scott,
Thank you for your replies. I apologise for my question, I should have been
clearer. However, I have copied your response to my “hints and tips” document
for reference in the future as it seems like a useful workflow to know.
To clarify my question; I have created a simple custom co
Posted a demo stack showing a DG with a behavior button in front of the DG
library behavior.
https://github.com/bwmilby/lc-misc/tree/master/NestedDGBehavior
There is an image of the stack uploaded as well. The preOpenStack handler
will update the script (LC9) which will then be available until LC
PR submitted on Bug 21427.
https://github.com/livecode/livecode-ide/pull/1987
Since it is a full PR, I went ahead and switched over to using a script
local everywhere and initialize it when the DG is initialized. I also
looked for an object in the DG resource stack instead of hard coding the
stac
Hello Simon,
I see I probably misunderstood what you were trying to do. With a custom
control I might be tempted to store the images in a customProp if I wanted
multiple resolutions to travel with the group object. Then do something like
setting the imageData of the image.
—
Scott
Elementary So
Hello Simon,
When you say "compared to storing the images on a card or in a folder” it
suggests two very different ways of organizing your source images. If you are
taking advantage of LiveCode’s automagical ability to pick the correct
resolution image then you need to have the images in your pr
Open a console with either the device connected or the simulator and see what
calls are made when the allow button is pressed
> On 24 Jul 2018, at 19:20, Ben Rubinstein via use-livecode
> wrote:
>
> I feel I've been through this before, but I've not been on it for a while,
> and I'm still (a
I feel I've been through this before, but I've not been on it for a while, and
I'm still (again) stuck.
Using Oauth2 to connect an app to the Dropbox API works fine on desktop.
On iOS, I get the overlay; with the Dropbox log-in; I sign in, and it then
shows the message that this app would like
Never mind I figured out why it wasn't working when I tested it. I was
copy/pasting the custom control group into a stack on the desktop, but my
images were relatively linked to png's in a subfolder in one of my project
folders! LOL!
It works fine.
Bob S
> On Jul 24, 2018, at 09:43 , Bob S
Hmmm just tested. Doesn't seem to work. I'll have to investigate why. The old
script works though I pasted it numerous times.
Bob S
> On Jul 24, 2018, at 09:35 , Bob Sneidar via use-livecode
> wrote:
>
> No sooner said than done. Keep in mind this method depends on four things:
>
> 1. You
No sooner said than done. Keep in mind this method depends on four things:
1. Your main group consists of a number of child groups composed of three
controls: a button, an icon image and a disabledIcon image
2. Your button names begin with "btn" and your images begin with "img" eg.
"btnNew"
3.
I have a custom control group with a series of buttons, each with an enabled
icon and a disabled icon. I have this if the group script, which should give
you some idea how to proceed:
on newBackground
-- Relink buttons to graphics as they all have different ID's now
set the icon of button
Is there an elegant method of storing images for use by a custom control? I
have tried adding the images to the custom control group but the buttons in
copies of the first group refer back to the first group so there is no
advantage when compared to storing the images on a card or in a folder.
Never mind Brian, it works. I had the behavior of the custom button set the the
behavior STACK and NOT the reDataGridLibrary stack button (now empty).
Once I got the behavior of the custom button set to the old behavior button,
the datagrid now works! You guys are freaking geniuses!
Bob S
>
I’ll put something together tonight. The code in the library has to be updated
before opening a card with a DG that has the adjusted behavior chain. I have an
idea on how to do it in script, but need to test it out to verify it will work.
On Jul 24, 2018, 9:54 AM -0500, Bob Sneidar via use-liveco
I did so. I get this when opening my test stack:
91,260,123
62,260,123
77,260,123
456,260,57
534,260,123
253,260,123
241,236,1,_Initialize
353,0,0,stack "/Applications/LiveCode Community 9.0.1 (rc
1).app/Contents/Tools/Toolset/palettes/revdatagridlibrary/behaviorsdatagridbuttonbehavior.livecodesc
Hi Charles,
Many thanks that’s exactly the cross-reference needed in the docs and has me
over that hurdle
…and I’m onto a whole new set of error messages now! :-)
Best,
Keith
> On 24 Jul 2018, at 09:27, Charles Warwick via use-livecode
> wrote:
>
> Hi Keith,
>
> If you take a look at the fol
Hi Keith,
If you take a look at the following LC lesson for uploading a file via FTP with
tsNet, it shows how to add a username and password to the settings parameter of
a tsNet function (which in the example is the tsNetUploadSync command).
http://lessons.livecode.com/m/4071/l/851756-how-to-up
Hi folks,
I’m trying to add username & password to the pSettings parameter in the
tsNetPost function but have no clue on the correct syntax for settings
parameter arrays.
Unfortunately, the documentation is not helpful in this regard for the
infrequent user - no brief syntax description, code e
Brian
That is a nice modification, makes it faster and is still only in one place.
>I also noticed that there are extra "stack" references in the code (stack
>_ResourceStack instead of just _ResourceStack 4/10 uses).
to my surprise both versions work.
Kind regards
Bernd
Brian Milby via use-li
19 matches
Mail list logo