Feature Request: Ability to Not Have an Action Button in Dialog Box
As it stands, the dialog box requires you to have an "OK" button, and a "Cancel" button (names can be changed...) - both of which will dismiss the dialog box. More buttons than that and you have to define an accessory view or put buttons in the views - all of which is fine, except when a dialog box is used more like an application frame, in which case it would be preferrable if only one button dismissed the dialog box (e.g. 'Done').
Rob
Here's an undocumented way to create a dialog with just a single "Done" button. Not sure you want to rely on this though :-;
local LrDialogs = import 'LrDialogs'
local LrFunctionContext = import 'LrFunctionContext'
local LrTasks = import 'LrTasks'
local LrView = import 'LrView'
local function findButton (x, label, visited)
if visited == nil then visited = {} end
if type (x) ~= "table" or visited [x] then return nil end
visited [x] = true
if x._WinClassName == "AgViewWinPushButton" and
x.title == label then
return x;
end
for k, v in pairs (x) do
local result = findButton (v, label, visited)
if result then return result end
end
return nil
end
local f = LrView.osFactory()
local controls = f:column {
f:static_text {title = "Look Ma! No OK or Cancel!"},
f:edit_field {value = "fields"},
f:push_button {title = "Do It"}}
LrTasks.startAsyncTask (function ()
while true do
local okButton = findButton (controls, "OK")
if okButton then
okButton.enabled = false
okButton.visible = false
return
end
LrTasks.sleep (0.1)
end
end)
LrDialogs.presentModalDialog {
title = "Test", contents = controls, cancelVerb = "Done"}
Similar Messages
-
JMSSecurityException: You do not have permissions: action create_queue and
Hi all,
as I try to login to the system with username "guest", I got exception which I find in the trace. Someone knows why?
EXCEPTION
#1#javax.jms.JMSSecurityException: You do not have permissions: action create_queue and instance ALL.
at com.sap.jms.protocol.notification.ServerExceptionResponse.getException(ServerExceptionResponse.java:231)
at com.sap.jms.client.session.Session.checkReceivedPacket(Session.java:2614)
at com.sap.jms.client.session.Session.createQueue(Session.java:2443)
at com.sap.ip.collaboration.core.api.rtmf.core.RTMFMessaging$JMSPolling.startRunning(RTMFMessaging.java:1244)
at com.sap.ip.collaboration.core.api.rtmf.core.RTMFMessaging$JMSPolling.run(RTMFMessaging.java:1182)
at java.lang.Thread.run(Thread.java:534)Hi,
Check th efollowing thread:
Too many exception"ACCESS.ERROR: Authorization check"
Rgds,
Raghu Boddu -
Photoshop CS4 does not have the extract button.
Photoshop CS4 does not have the extract button. I've tried downloading from Adobe but am getting an error message "Photoshop could not complete this request because Photoshop does not recognize this type of file".. how do i get this plug-in installed?
Buko. wrote:
If its a Spanish plugin there's not much you can do about that.
I suppose you could learn Spanish.
Hey, Buko, you got the points! Beautiful system. -
I purchased the multi-user iworks (yes back when it was new, 2009 or 2010 and recently had to replace my white imac's hard drive (but didn't pay to fix the CD drive). My iworks does not have a serial number on the box and now that my CD drive isn't working how can I reinstall this software?
Buy or borrow an external USB optical drive.
See the confirmation email or covering letter to obtain the serial number. If you have lost it, contact the supplier. -
The user manual says to go Mailboxes and click the Edit button to add a Mailbox, but I do not have an Edit button displayed in Mailboxes. Is there a setting for displaying the Edit Button? I have the latest version of iPad (Model MD328LL). Thanks.
If you go to your email account in the Mail app and look at the window where your inbox, trash folder and sent folder are - if there is an Edit button at the top of the window - tap that and then tap Add Mailbox at the bottom.
If the Edit button is not there - you cannot create folders on the iPad. Your email account is not IMAP. Only IMAP email accounts can create folders on the iPad. Any folders that you would already have in an IMAP account would sync to the device as well. -
My InDesign DPS does not have a "Share" button.
In my Folio Builder, it does not have a "Share" button. Please help.
If you chose the create folio offline option, click on the Folio Builder menu and choose Upload to Folio Producer.
-
This may seem basic, but I just discovered that I do not have a share button (the one with the little arrow jumping out) to the left of my address bar on Safari for my Mac. I do have one on my IPad and use it often. Can anyone tell me why my Mac is missing this icon and how to get it? Thanks.
lawrencefromgettysburg wrote:
I went in to do the software update, and learned that my software is up to date.
Going from Lion to Mountain Lion is considered an upgrade (because it is not free), not an update.
So yes, given that you have Lion, you are up to date. But if you can, you might consider going to Mountain Lion for a fee.
Here's what you need to do the upgrade:
System requirements for OS X Mountain Lion -
I do not have the Firefox button at the top of my screen.
I do not have the Firefox button at the top of my screen, so cannot use any of the functions it controls. I do have the round Firefox symbol, but when I either right-click or left-click it, I get only the menu for mazimizing, minimizing or closing the application. I cannot find any information on the Mozuilla website about how to fix this problem, and would appreciate any advice I can get. My operating system is Windows 7 Professional. Thanks.
You probably have your Menu Bar activated. I think you can use one or the other. To activate your Orange Firefox favicon, right-click at the top blank portion of the browser (next to your tabs) and uncheck the Menu Bar option. Hope this helps.
-
In facetime and i message do not have on/off button on ipad
In facetime and i message do not have on/off button on ipad
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: FaceTime is 'Unable to verify email because it is in use'
http://support.apple.com/kb/TS3510
Using FaceTime and iMessage behind a firewall
http://support.apple.com/kb/HT4245
iOS: About Messages
http://support.apple.com/kb/HT3529
Set up iMessage
http://www.apple.com/ca/ios/messages/
iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
http://support.apple.com/kb/HT5538
How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
Troubleshooting Messages
http://support.apple.com/kb/TS2755
Troubleshooting iMessage Issues: Some Useful Tips You Should Try
http://www.igeeksblog.com/troubleshooting-imessage-issues/
Setting Up Multiple iOS Devices for iMessage and Facetime
http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
FaceTime and iMessage not accepting Apple ID password
http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
FaceTime, Game Center, Messages: Troubleshooting sign in issues
http://support.apple.com/kb/TS3970
Unable to use FaceTime and iMessage with my apple ID
https://discussions.apple.com/thread/4649373?tstart=90
How to Block Someone on FaceTime
http://www.ehow.com/how_10033185_block-someone-facetime.html
My Facetime Doesn't Ring
https://discussions.apple.com/message/19087457
To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
How to Send SMS from iPad
http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
You can check the status of the FaceTime/iMessage servers at this link.
http://www.apple.com/support/systemstatus/
Cheers, Tom -
HT201272 I do not have a "Library" button as described in step 4?
I do not have a "Library" button as described in step 4?
HI..
Might depend on your location ..
iTunes in the Cloud and iTunes Match Availability -
I watched a video on youtube http://www.youtube.com/watch?v=F2hC089Iri0 and noticed that I do not have the info button, nor the insert button or full screen button which are also described in the "Getting Started" document in pages on my ipad. Is this something I need to worry about?
Also wondering if you can make pages document in landscape or is it only for portrait?With the latest release of iOS and iWork apps for iOS, Apple has changed the Toolbar buttons:
What used to be the i - Info Button where object properties and text were changed is now the Brush icon (For styles, I guess) but has the same basic function as the i icon before - select an object or some text and tap the brush and you can change basic attributes.
What used to be the Media Insert icon (representation of an image) is now the "+" Button with the same functions as the previous icon - you can add shapes, tables, charts and media
The Tools Menu (wrench) is the same as before except in Keynote it now also has the Transitions and Builds access menu (double diamond icon) which used to reside on the toolbar and is now tucked under the Tools Menu
The View Full Screen (double arrow icon) has been removed and the document is now always in full view, sort-of.
Apple has yet to update their Getting Started Files for Pages, Keynote and Numbers to reflect these changes so it is understandably confusing to users. -
Since last update I do not have a "delete" button showing on a toolbar. Therefore, I cannot delete emails without opening them. Please help.
Ask Apple to re-enable it. I had an unauthorized purchase last October. They disabled my account until the problem was solved. However, I asked them to reopen it, and they just asked me to provide some security information (billing address, a recent purchase you made, etc.), and then they re-enabled it.
-
I do not have a Firefox Button. Which I need to access options to solve a problem.
I want to solve a problem with my bookmarks. The suggestion said to click the Firefox button at the top of the page. I do not have a Firefox button.
Running WindowsXP Home.The new interface is only default on Windows Vista and Windows 7. To get it on Windows XP you need to hide the menu bar. To do that in the View menu select Toolbars, then click on the "Menu Bar" entry.
If you need access to the menus you can press either Alt or F10 to temporarily display them. -
I do not have a delete button to manually delete photos that are located in photo stream and are taking up all storage on my iphone 4. How do I delete these photos.?
To delete photo stream photos, open your my photo stream album in the thumbnail view, tap Edit tap all the photos you want to delete, tap Delete. This is permanent so be sure you save any that you want to keep before deleting them.
-
My iphone 4 does not have a wifi button?
As I mentioned, I got an Iphone 4 as a gift and it does not have a wifi button to turn on wifi nor can I connect to Itunes.
GregTB,
The Chinese are making iPhone 4 Copies and selling them in the black market ( you can find it over the net also), they are almost perfect but they do not run using Apple iOS, that may be the reason of the differences on the option settings, some of those copies in south america even have digital tv some of them run with 2 Sim cards and can be purchased for about US$ 150,00.
THAT MAY BE THE CASE.
They are like the chinese black market Car GPSs that have up to 10 different GPSs softwares and you can chose a different one every time you need.
http://www.google.co.uk/search?hl=pt-BR&client=firefox-a&hs=tPX&rls=org.mozilla% 3Aen-US%3Aofficial&q=chinese+iphone+4+copies&oq=chinese+iphone+4+copies&aq=f&aqi =&aql=&gs_sm=e&gs_upl=115547l116731l0l6l6l0l4l0l1l376l680l3-2
Just by the price that those phones are being sold people could doubt the origin and avoid the trouble.
Maybe you are looking for
-
Error while Deploying Performance Management samples in XI R3.0
Error while Deploying Performance Management samples in XI R3.0 I get an error when deploying the PM samples. I have set the PM repository pointing to AFDEMO database I have used to Java of BO dir as well as the program files\Java (1.6.03) I run the
-
InDesign CS6 - Default display is high-quality. All four placed images are Illustrator files. Three images look the way they should - high-quality. One image looks pixelated. Why?
-
Recursivity in Oracle Java Class Generator from XML
I am about to start using Oracle XDK for marshalling/unmarshaling XML documents but I need to know if the generator will be able to create correctly the java classes from a DTD that is recursive : <!-- #[START] --> <!ELEMENT node ( date, symbol, node
-
Application Ear file deployment on Oracle 9ias(9.0.3)
Hi, I'm trying to deploy an application (JSP + BC4J) under Oracle 9ias using the Enterprise Manager (EM). No error occurs during the process but I can not load the application with internet explorer. the following message appears : "Not Found The req
-
Auto hide taskbar not working with iTunes 10.5 & Windows 7
Anyone else having problems with Auto-hide Taskbar not working when iTunes is open and the active window? Was working fine with previous versions including the beta of 10.5 I had. Is this a general problem or just me? Im using Windows 7 64bit for wha