Cascades image button

Hi all developers BB10 Cascades.

Could you help me because I'm kinda comfused and I don't know how to answer this question: is it better to use a button and intercept onClicked or use an ImageView and intercept onTouch?

Of course, I don't need to put the text on the button but just a picture, so I ask what is the difference between the button with an image only and the ImageView solution?
I prefer to use the ImageView because the appearance of the button that bothers me, but I don't know if this is a good solution...

Can you help me please?

Laurent

Thank you.

I think I'll use the buttons because the users know they can click a button to perform an action...

Tags: BlackBerry Developers

Similar Questions

  • Create a QImage bb::cascades:Image

    Hi, how can we create a QImage from bb::cascades:Image or bb::cascades:ImageData?

    Thank you

    Sorry to bring this element thead dead to life, but you can easily extract data from bb::ImageData using bb::utility:ImageConverter :

    bb::ImageData imageData; // our source imageDataQByteArray encoded = bb::utility::ImageConverter::encode("image/bmp", imageData);QImage image; // destination QImage
    
    if (image.loadFromData(encoded, "BMP")) { // load QImage from encoded QByteArray as BMP streamQImage scaledImage = image.scaled(720, 720, Qt::KeepAspectRatio); // if we wish to scale source image    scaledImage.save("sample.png", "PNG"); // if we wish to save scaled image}
    
  • ImageView is not showing any transparency since QImage converted to bb::cascades:Image

    Hi all

    I always try to create an overlay to the mapView. I'm now trying to use a standard QImage QPainter solution, then converting the QImage I called a bb::cascade:Image. But for some reason, the ImageView still has a white background, even when the Image I give all its alpha set to 0 pixel values.

    NVM solved, I'm stupid. It's that the I had the container root of my set of custom controls to the disposal of the battery... (aka no overlap) so it would draw on transparency for nothing and he appeared as white.

  • Several picture horizontal line and image button

    Try to make an app for the storm, I want two pictures to fill part (fill the width) of the screen and I was wondering how I can direct it so I can have two images side by side on the same horizontal line? Currently, I add the images on the screen through this code:

    Bitmap img1 = Bitmap.getBitmapResource("img/Image1.png");
    BitmapField Image1 = new BitmapField (img1, BitmapField.FIELD_LEFT);
    Add (image1);

    But when I use

    Bitmap img1 = Bitmap.getBitmapResource("img/Image1.png");
    BitmapField Image1 = new BitmapField (img1, BitmapField.FIELD_RIGHT);
    Add (image1);

    The image will be on the next line.

    Also, how can I make a picture in an image button?

    You add the FlowFieldManager to your screen and your fields of bitmap to the Manager.

    Or, you can do the same thing with HorizontalFieldManager.

  • Previous image button does not work

    Hello

    I'm a host of character and as an animator, I always watch movies frame by frame. I checkedenhancenments of Windows Media Player and I found a tool very useful. I can play frame by frame with the option, but only in a way forward. The previous image button does not work .

    Is this a bug?

    My system properties:

    • Intel Core i7 CPU 920 @ 6.67 GHz
    • 6 GB OF RAM
    • 64-bit operating system
    • Windows 7

    Waiting for your response.

    Albert

    Hello

    This is considered to be a design problem.

    Your feedback helps Microsoft make software and services the best they can be. Please leave your comments on the link below. To learn more, sign up for:

    https://connect.Microsoft.com/dashboard/Info/

    Leave your comments on the link below:

    http://mymfe.Microsoft.com/Windows%207/feedback.aspx?formid=195

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Cannot find the combination of rollover image/button/drag / drop

    Hi all

    I use 9 Captivate and work of the interaction that left me speechless. I'm trying to put up with images that will be used for drag-and-drop interaction, and I want the images to have a rollover State to indicate that they are clickable. When you click on it, a display window that provides more information to the user to determine the correct items to drag and drop.

    I tried at first to use a regular image and then add a "Rollover" State, but then I couldn't understand how to assign an action to indicate when this State will come into force. (Is there a way to associate a hotspot of mouse with a picture?) Then I tried to use an image button, which worked very well in the measure where using the rollover State and I used some conditional formatting and the variables for my more info boxes to show when the item has been clicked. However, I didn't until I had finished this part that the buttons can be used as drag objects, OH.

    I thought to use an invisible on an image button so that I could get the most information to display and the image can still be used as a drag-and-drop object, but then brings me back to not knowing how to get the rollover State to work. :/

    Suggestions as to how I can achieve the Trifecta of turning State/button/drag / drop?

    You can not interactive objects as sources of drag or drop targets. Only interactive objects have the integrated rollover state that appears automatically when the cursor is on the object.

    Drag sources and drop targets also have InBuitl States, but turnover is not one of them. Take a look at this article to see all the Inbuilt says in & slipped:

    & Slipped in 2016 with Captivate 9 - Captivate blog

    States customized like the one you created for the object can only be triggered by an event. Rolling a normal object is not an event, which explains why you can not modify a report on working capital. Except, maybe (did not check) using the CpExtra of InfoSemantics widget (only for HTML output), which can be used as EventHandler (another widget to them for the SWF output).

    You can trigger an action when a drag source is dragged to a drop target, using stocks of the object (more: advice & slides - blog of Captivate ) but not before dragging you requested.

    At the moment I don't see a way to do what you ask (and this is the first time I see such a question in this forum). Must be D & D?

  • Changing themes increases Image button sizes

    Does anyone know why change the themes would increase the size of the dimension of the image buttons?

    Hi SM,.

    I think that perhaps you expected this for Illustrator so I'm moving it y. Let me know if I misunderstood.

    Sue.

  • Custom image button resets

    Hello

    I have a project with about 50 slides and use a custom image button to allow to the learner access the glossary slide at the end.

    Unfortunately sometimes the action of all the buttons gets reset to 'continue' instead of 'jump to slide _.

    What could be the reason?

    I did not remove the slide with the glossary. I have download the XML definitions for the glossary widget. I also started quiz slides by adding at the end.
    Is there anyone knows casue/effect that resets the actions of the buttons?

    Thanks for any clues as the refiguring takes every 10 minutes each...

    I can't explain why the action evolves when you copy/paste but do have a tip for you.

    Why complicate this by having the individual buttons on each slide instead of the button a single form that you can put on the master slide or on the first slide and the time for the rest of the project? You can convert each image to a form button:

    Turn an Image into a button - Captivate blog

  • Captivate Image button flickering 9 small and large

    Hello

    I have a picture of button that opens a hyperlink

    Screen Shot 2015-11-05 at 18.31.50.png

    Image button successfully shows and image button has the action to hide when we click which subsequently

    Screen Shot 2015-11-05 at 18.30.52.png

    He hides with success initially but I find myself with a small image of the button which flickers to full size rather randomly when the cursor is wound on it.

    Screen Shot 2015-11-05 at 18.30.03.png

    Any ideas?

    Have you checked the button States? To have a "button completely disappear and be idle, you must turn off the button before you hide it. It was not necessary to output SWF some versions ago, but now, I recommend to do all the time, certainly for the release of HTML5 (which is the case here since you have a responsive project). You need a standard action advanced or shared with this sequence of commands:

    Turn off the grammar...

    Hide grammar...

  • Image button. How to mark on the slide?

    Hello!

    I wonder how mark, put the attention on the picture button?

    I'm working on a project where I use the navigation customized with Image buttons Panel. Some slides changes without navigation. And some slides paused until the button pressed. I would be careful on the image button, when the user has to push.

    Is it standard tool for this, or should I use hightlights maybe?

    Thank you)

    You probably just want to use an effect, regardless of the one you prefer. Click on the button, then go to the 'Window' menu and select 'Effects' to open the effects Panel. At the bottom left you see a button 'Add effect', click on that and experiment with your options.

  • Compensation/reset Image button Gallery

    Hey guys, hoping you can help me with more trivial but annoying thing today. My colleague helped me to find this thread: http://forums.adobe.com/message/6153857#6153857 but unfortunately it bring any resolution to this. So Rod, plus you can think of you have, or others have other ideas, I would be grateful.

    Basically I made custom for our company buttons e-Learning modules, and as went through the design process, I made some changes to the design based on new ideas or discover inconsistencies. Now I finally have the full set of button I want, but I have a problem of double. First is those buttons I was first to help and tests that are not the same design that final versions always appear in lists of button image despite having been removed from the Gallery-> folder buttons in my C: / drive. In addition, some of them I just recorded from previous versions, but previous versions are the ones who make their appearance in Captivate even if no such previous version exists in my Gallery-> folder buttons. I know that I can just rename, but they will always be there, thus continuing the first problem. No idea how to clear these buttons image either-used, stored either in the list of Captivate image button?

    So! Here is the solution. Lilybiri was basically just because it seems refreshing the Preferences file is the only way to do it. This is impossible to in Captivate however. You must close Captivate and then go to (for Windows 7) C:/Users / [your user account] / AppData/Local/Adobe /. Rename the Captivate 7.0 folder to "Captivate 7.0 old." Re-open Captivate and a new folder will be made in the Adobe folder in your C: / drive to replace the one you named (that you can now delete). You have successfully reset your preferences folder

    Where you do not see the "AppData" folder, it is sometimes hidden. So just click on "Organize" on the top left of Windows Explorer, select folder and Search Options, go to the view tab and select the radial "Show hidden files, folders and readers." Yay!

  • Image buttons won't go away

    Hello

    I created a upwards, downwards and on the State of my image buttons and saved in the Captivate ' Gallery > buttons "folder. Two weird things are happening:

    1. when I delete the image files in the folder ' Gallery > buttons "buttons do not disappear from the applications interface in the" general > Image button "menu drop-down. Can someone tell me why this is and how to make them disappear?

    2. after recording several different from top to bottom and on the States for my icon set, I copied and pasted into the folder "Gallery > buttons". Then, I went into the folder to check and view them and discovered that each file had the same image inside! I have never in 25 years of operation of a computer seen this happen. Can someone tell me why this is happening and how to stop from happening?

    Thank you all in advance for your time.

    Captivate image buttons are cached within your project file after the first instance you use in this project.

    If all changes made to the original keys in the gallery are not reflected in your project, because Captivate sees you already own a copy of a button with the same name in the project.

    In Captivate 7.0.1 there is now an option to remove the unused button Images.  This allows you to clean up some of the trash in your project file.

  • Is there a way to select the slide objects (images, buttons, etc.) in a list?

    Is there a way to select the slide objects (images, buttons, etc.) in a list so that it is easier to choose a specific item when you edit a slide Captivate? The same way as 3D drawing programs have lists of objects in the scene? I have several articles on top of the other, and it becomes a pain to select the correct element.

    The scenario presents items in a list. And clicking on the list allows you to select them. You can also hide, show, lock, and unlock it.

    See you soon... Rick

  • Change the image on the image button

    There were moments where I create an image button and find that I need to change this image. When I edit the image, he re - register and then try to recreate the button, Captivate is still the old image. The old button always appears in the drop-down list under the drop down menu to the selection of an image button in the properties panel. I checked in my Gallery, but they aren't there. The only way I can make the button with the newly edited image is to name the image something else entirely. Is there a setting or hiding somewhere that I have to change?

    Thank you!

    TiAnna

    I found this, and it seems to work. Just make sure that your project is not in the same folder as your cache (I know that sounds like common sense, but apparently some people who do).

    http://helpx.Adobe.com/Captivate/using/projects-project-preferences.html

  • pixelated edges when you use image buttons

    Hello:

    When I use the Image buttons (continue, front, rear) on one background other than white, the edges of the button are pixelated.  Any suggestion of a quick fix?

    Thank you

    Jeff

    What quality of slide? If you are still on the default low, try unproven or high. What version do you use?

    Lilybiri

Maybe you are looking for

  • Hello! Where can I quote a small (11 FF on mac OS 10.6) bug + fix?

    Hello!First of all, thank you all very much for... Firefox And now, the point... On 11 FF (International), if you, like I did, on drupal 6 "subtopic", a CSS integrate property 'border-radius', it's not... only with mac 10.6, 11 FF.Linux and W7 seemed

  • Equium A60-155: Win98 on the recovery disk?

    I have several problems with my laptop, but after trying to use the product recovery disc, it says it's from windows 98 rather than windows xp which was originally about it. I cant even install that, because it seems that I have an overheating proble

  • How to remove all the HP back in a MS241a

    Is there a sheet of instructions anywhere on how the back detaches the HP all in one single MS241a... .exposing the card mother etc... Thank you

  • Problem in the import library (ECLIPSE)

    Hello.. I'm quite new to programming...I use eclipse to learn developing blackberry... I need to use import java.io.bufferedoutputstream but it's not exist... Someone knows the solution to this issue?

  • Printer Offline Message When you try to print the Office Word doc

    Message from the printer offline.  HP shows printer status is online with wireless network and computer ASUS says is in line with wireless network and internet but when I try to print a word doc it does not print.  I get a message that the printer is