I just purchased this widget library and want to know if the multi-line text box has a property for scrolling? Thanks. [import]uid: 8780 topic_id: 25953 reply_id: 113958[/import]
Using a checkbox w/list?
(sorry if you’ve already seen this post as it’s own thread - just now realized this was the best place to post a question about Widget Candy.)
I am fairly new to Corona/programming and very new to Widget Candy. I’m sure what I want to do is simple, but in the absence of a specific example, I am just having a hard time getting started. If anyone could help, I’d really appreciate it! Here’s what I want to do:
Create a list with checkboxes for the user to select 5 items from the list. The list part I can do just fine, it’s getting the checkboxes and knowing which items on the list that were selected that is throwing me. Is there a way to nest the widgets?
I did find a similar post earlier, but the reply made no sense to me as I don’t know what an icon list is or how to create one or how to reference it, etc… it read:
…the “list sliders” are nothing more than icons that are changed for each list item when tapped to indicate the current state of each item. You can easily change this to checkbox images just by changing the icon number in the example code and providing an icon sheet with two checkbox icons (checked and unchecked)…
If anyone has done something similar that they wouldn’t mind sharing the code for as an example, it would help me a great deal! I bought Widget Candy because I thought it would be easier to accomplish this task. So far no luck
Thanks so much,
Chris [import]uid: 97836 topic_id: 25953 reply_id: 113970[/import]
hey x-pressive,
Anything new on the horizon?? sure would like to see what the plans are for expanding the suite of controls. One thing is to be able to expand and collapse the list. i really need this. I’m still having a ball using the controls but would like to see some new stuff. Any thoughts?
Thanks
Shawn [import]uid: 89018 topic_id: 25953 reply_id: 114085[/import]
There will be definately more Widget Candy controls soon, we just focussed on fixing any bugs first before adding new widgets. The Widget Candy to do list is long, so there will be lots of updates for sure (wheel control, turnable knobs, data charts and more), also scroll properties for multiline texts. Since we are currently working on a Text Candy update as well (adding direct support for Glyph Designer) we can’t tell an exact time frame at the moment.
@cpalmer:
The list sample showing the little on/off slider icons is very simple -just have a look inside the sample code, you’ll notice that each list item has a custom true/false property and that those little sliders are just list item icons that are set depending on that property. That’s basically all.
Reading out your checkboxes is very straightforward if this is what you are asking for. When done, simply loop through your checkboxes (named “Check1” to “Check5”, for example) and get their current state value:
[lua]for i = 1,5 do
if _G.GUI.GetHandle(“Check”…i):get(“toggleState”) == true then
– THIS CHECKBOX IS CHECKED
print(“CHECKBOX “…i…” IS CHECKED!”)
else
– THIS CHECKBOX NOT CHECKED
print(“CHECKBOX “…i…” *NOT* CHECKED!”)
end
end[/lua]
[import]uid: 10504 topic_id: 25953 reply_id: 114172[/import]
x-pressive, thanks for the update. Our upcoming productivity app is built using Widget Candy extensively…any new controls, especially charts/graphs, would be awesome!!
Keep up the good work…Widget Candy is the best. [import]uid: 39506 topic_id: 25953 reply_id: 114180[/import]
I would also like to see an easier way to update the themes. It’s not that easy with the current version. At least not to me.
Also I would like to be able to add my own images right on the buttons and not rely on the supplied icons.
Example a custom twitter image or facebook image.
It would be very helpful to be able to specify our own image to be placed on the buttons or other widget controls without changing the supplied themes.
Larry [import]uid: 11860 topic_id: 25953 reply_id: 114546[/import]
@doubleslashdesign: You can do this already with the NewImage() widget. [import]uid: 129287 topic_id: 25953 reply_id: 114561[/import]
@3dreamsgaming - I’m getting exactly the same with the textinput inserting my characters at the start of the inputbox. Suspect this is because I’m using a massive font. Its very annoying.
Problem 2. widgetcandy moves my input box after the user has entered the text -
I found it after 4 nights of hunting and putting in debugging to the library
[lua]V._CheckProps = function ( Widget)
…
V._SetPos (Widget)[/lua]
Problem 3 - the model shaded background isnt modal - it doesnt receive the touch events (or tap)
And finally.
widget candy should give more control over how the native input box is displayed
rather than the small one liner in the rounded rect I would prefer to choose whether the
native input takes up the whole screen so that I can take multiline input.
previous candy’s have been great and did what it said on the can.
This is a bit more work
[import]uid: 74338 topic_id: 25953 reply_id: 114560[/import]
@doubleslashdesign Have you looked into the corona widget library, you can assign buttons custom images if you want to do it that way. Just use the corona one for any special buttons if you do not want to make a new theme or change them. One of the best features of Widget Candy in my opinion is the predefined themes.
@open768 -Problem #1: As far as the text input for android goes, x-pressive has already said that they will not be doing anything about it because of the way corona handles the inputs on apple vs. android. So they came out with disableInput = true to use on the text input. When you touch the widget candy text box it will disable the onPress function that is predefined and you can define a new onPress. Which is what I ended up doing, it made it very easy to make my own android native text box and place it where i wanted once the user touches the widget candy one. Also you still have access to all of the text box props, like the caption, so you can change the text in the box just like the apple version.
Problem #2: As far as issue number two i have had no such issue, everything stays where it should and updates as it should without moving the text box. But, looks like you resolved it.
Problem #3: If i am understanding your statement correctly then you are saying the modal background for instance on the Confirm text box is not modal because it does NOT allow touch events on the background? This is exactly how modal should work, The rough definition of modal is as follows: In user interface design, a modal window is a child window that requires users to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window. So if i am understanding your statement correctly then it is working as intended, it is interrupting the touch events in the background until the user interacts with the current screen being displayed.
Lastly, with interacting with the native text box you would need to use the property that i mentioned in your first problem (disableInput = true) and you will be able to make it do what ever you want and still have the widget candy text box image. [import]uid: 126161 topic_id: 25953 reply_id: 114594[/import]
@3dreamsgaming - thanks for the replies, will give your suggestion a go. Shame about what you say the position of x-pressive is - afaics its an easy fix.
no what I meant about the modal was that the fader background doesnt receive touch events. Its as if the fader isnt there, the graphics elements under the so called modal fader get the touch events - which they shouldnt (nb thanks for the rough definition - I feel I’ve been taught to suck eggs 8-P) [import]uid: 74338 topic_id: 25953 reply_id: 114679[/import]
@open768 ahh ok i misunderstood you. As far as i know and as far as the documentation shows, the modal property is only available with the alert box (.Confirm()) command. I might be mistaken but this is what the reference documentation shows. So, is it the alert box modal that you are having an issue with or are you trying to set the modal property on something other than the alert box? As far as my experience goes, the modal with the alert box works fine, i have had no issues yet. [import]uid: 126161 topic_id: 25953 reply_id: 114682[/import]
I was wondering if anyone knows how long it typically takes to get a response from x-pressive.com?
We purchased the Widget Candy library but never received a link for the library download.
[import]uid: 106158 topic_id: 25953 reply_id: 115149[/import]
@pbligh it was within 5 minutes when i purchased it. Did you trying contacting them via email? [import]uid: 126161 topic_id: 25953 reply_id: 115229[/import]
@pbligh - I got mine right away and they have always been very responsive via email (w/in 24 hours). Have you tried checking your credit card account to make sure the purchase actually went through? Also, is it possible you had a typo in the email address you gave at the time of purchase? I’ve done that before. I’m sure they’ll be back to you soon [import]uid: 97836 topic_id: 25953 reply_id: 115231[/import]
I think I used paypal and it was instant as well.
If something went wrong fire them off an email, they will get to ya
Larry
[import]uid: 11860 topic_id: 25953 reply_id: 115240[/import]
Phil, could you please drop us an email (support -at- x-pressive.com) and let us know the name and address associated with your Paypal account? We’ll check if we got your order then. If the transaction was successful and completed, you should have received a confirmation email from us within minutes that also contains your personal download link. Please also check your spam folders just to make sure that the email was not accidentally marked as spam by your ISP.
[import]uid: 10504 topic_id: 25953 reply_id: 115309[/import]
I’ve bought this product yesterday, I’m testing it right now, it’s great!:).
What about the native IOS theme , is it available ?:)) [import]uid: 145499 topic_id: 25953 reply_id: 115321[/import]
Try “theme5” (with the Theme Tester Window included, for example), which provides a native iOS look plus some nice additions. [import]uid: 10504 topic_id: 25953 reply_id: 115341[/import]
Thank you for the quick responses.
I sent an email to support (at) x-pressive.com yesterday
and to order (at) x-pressive.com a couple days ago.
When I was purchasing Widget Candy, it didn’t give me the option of providing an email,
I simply logged into an existing PayPal account that our company uses. Then I clicked on purchase.
The username of the account was an email address, I am assuming that they used that one to send the automatic email too.
The problem is that, that email account was deleted by mistake. If i had of known that when I made the purchase I would have recreated it beforehand.
We did get a notification in the PayPal Account that the purchase went through. Now what I need is a copy of the library.
Hopefully, I will get a response back at some point.
-Phil
Update: ISSUE RESOLVED
-Phil [import]uid: 106158 topic_id: 25953 reply_id: 115248[/import]
@x-pressive,
Thank you for the help with our order. I just downloaded the library. I can’t wait to get started!
-Phil
[import]uid: 106158 topic_id: 25953 reply_id: 115354[/import]