Icon in the title bar of label.
Hello
I wonder if there is a way to change stupid thei that appears in a window in which Webhelp is open. It's a small globe with a question mark that appears before the title of the WebHelp in the tab or window. I cannot find setting WebHelp or skin that controls it, but maybe I'm missing something?
Thank you!
Hello
You talk about the favicon, see http://www.favicon.cc/. It's just an icon (.ico) file. There are two ways to change:
1. replace whstart.ico by your own favicon.
2. create your own icon and add the HTML code for the favicon in the same page that you want to use (excellent if you use lots of popup windows that would otherwise not use the favicon).
Note: IE is notorious for not (or incorrectly) showing the favorite icon.
Take a bow
Willam
Tags: Adobe
Similar Questions
-
Hello, I put an icon on the title bar image?
Hi @aashishsaini75. Here is my code:
import bb.cascades 1.4 Page { id: thePage titleBar: TitleBar { kind: TitleBarKind.FreeForm kindProperties: FreeFormTitleBarKindProperties { Container { layout: StackLayout { orientation: LayoutOrientation.RightToLeft } rightPadding: -12 Label { textStyle { color: Color.White } verticalAlignment: VerticalAlignment.Center layoutProperties: StackLayoutProperties { spaceQuota: 1 } accessibility.labelledBy: todoLabelId } ImageView { id: toggleExpanded property bool checked: false imageSource: "asset:///[email protected]" verticalAlignment: VerticalAlignment.Center horizontalAlignment: HorizontalAlignment.Center accessibility.labelledBy: todoLabelId } } // Container } // FreeFormTitleBarKindProperties } // TitleBar } // Page
Hope help you.
-
How to put a small icon in the title bar of the main screen
Hi all, I'm new to the BlackBerry Forum.
I can display a small icon in the title bar in the main Blackberry screen to warn users when my application is received something and it is reduced?
Thanks in advance!
Yes you can do this by using the following code.
ApplicationIndicatorRegistry reg = ApplicationIndicatorRegistry.getInstance(); EncodedImage image = EncodedImage.getEncodedImageResource("Indicator.png"); ApplicationIcon icon = new ApplicationIcon( image ); indicator = reg.register( icon, false, true); indicator.setIcon(icon); indicator.setVisible(true);
-
lack of the icon in the title bar
for these days, the small icon beside the photo title in the title bar above the image disappeared. before I could grab this teeny tiny icon and attach the photo to a document, such as email, dragging on. now, I have to use the function "attach."
the icon is also grayed out when changes have been made to the photo and not yet recorded.
does this sound familiar to anyone? I have not changed anything on the computer.
Well, I'm on an apple store to look at but probably of new macbook pro which has not upset photoshop at home.
Mac 10.6.8
2.66 GHz
4 GB of ram
MacBook pro
I fixed the permissions, and it seems to be ok now. I would have thought of this first.
-
Rename and place the icon on the title bar of Flash exe file problem
How to rename the title bar in the project Flash (.exe) file and replace the flash icon with my own icon file?
Thank you very much!You need a 3rd party tool Flash projector, which there are a number:
http://www.Flashmagazine.com/1100.htm -
How to change the font of the title bar of the JFrame icon context menu?
Hello world.
I want to know how to change the font of the text that appears in the context menu is native to click with the right button on the icon that is completely left in the title bar of JFrames which use the default appearance for decoration (JFrame.setDefaultLookAndFeelDecorated (true); / / uses the metal L & F, theme "Océans").
I searched and found nothing. I thought I could use what I learned to
, but I couldn't find something that worked.Thanks to advance.t
After a few more messing around, I finally did! I love so much it makes me a little sad Java how it is difficult to do things like that. In any case, I found a method here to recursively change the fonts of all components in a JFileChooser, but it does not work on the JPopupMenu (now I know the name) who jumps to the top of the icon in the title bar. So I messed around with this method a few casting and was able to change the fonts of the JMenuItems:
public static void setSubComponentFont (Component comp[], Font font) { for (int x = 0; x < comp.length; x++) { if (comp[x] instanceof Container) { setSubComponentFont(((Container)comp[x]).getComponents(), font); } try { //comp[x].setFont(font); if (comp[x].toString().contains("JMenu")) { for (Component y : ((JMenu)comp[x]).getPopupMenu().getComponents()) { if (y.toString().contains("JMenu")) { y.setFont(font); } } } } catch (Exception ex) {} } }
I was inspired by this thread of utiliser.toString () .contains ().
I also did with nested loops, so the path to the menu items can be seen:
for (Component a : frame.getLayeredPane().getComponents()) { System.out.println(a.toString()); if (a.toString().contains("MetalTitlePane")) { for (Component b : ((Container)a).getComponents()) { System.out.println(b.toString()); if (b.toString().contains("SystemMenuBar")) { for (Component c : ((Container)b).getComponents()) { System.out.println(c.toString()); for (Component d : ((JMenu)c).getPopupMenu().getComponents()) { System.out.println(d.toString()); if (d.toString().contains("JMenu")) { d.setFont(font); } } } } } } }
Each System.out.println () gives an indication of what should go on what follows if State, so they should be used one at a time. This does not work for the title of the JFileChooser however font. When I have time I'll either look no further away inside or ask another question.
So, if someone else needs like I did, it's here. As a tip, System.out.println () and. toString() are your friends! That's how I learned what was contained in each object, and which path I needed to take to get to objects of interest.
Thanks anyway!
-
Icons in the task bar disappeared
Original title: XP Pro not written Lac program memory information
After reinstallation of programs or using the Task Manager to stop some sandbox process, then from the programs again to return the status bar icons in the status bar, they disappear after a reboot or shut down and restart. I have a Dell Optiplex GX280, 3.4 GHz with 3 GB of RAM. Two of them are new modules of a GB of quality and the other GB is two older modules of 512 MB. It was an intermittent problem and the tray would sometimes load icons of the toolbar State but now only the clock and running network icons are there after the reboot. I changed the bar of tasks and Menu properties back to try to reset the status bar, but nothing seems to help. A new facility is out of the question with all the security and other updates that need to be reinstalled on this old of a BONE, especially with "dial-up". I just restored a full backup of my external hard drive, but it made no difference. I have a laptop Dell XP Home that works very well. I didn't something different with the XP Pro that I did not go to the laptop.
Any suggestions would be greatly appreciated.
Hello
1. you remember to make changes before the hardware or software problem?
Test the issue in a new user account and check if the problem persists.
-
Lost icons in the notification bar
got a runtime error while watching a TV show. computer is turned off. It is on mute when he was arrested. volume, percentage load and the network icon in the notification bar. using vista and under control panel hardware and sound missing in order to adjust sound. What to do
* original title - lost of icons in the notification bar. There's also list of Control Panel. volume, network and battery charge percentage *.
Notification iconshttp://www.Vistax64.com/tutorials/106787-notification-area-system-icons.htmlThe tutorial has 3 methods.
Method is a general method which, unfortunately, rarely works because that box, you need to check usually grayed (unclickable).
Two method is only for Vista Ultimate and Enterprise.
Three method applies to all versions of Vista.
Use the Reg file download. It is simple and easy.
* Do
sure that you restart the computer to complete the
procedures.
P.S. Despite what the tutorial said, it is best to keep these files reg on the desktop. They will come to hand the next time that you lose one of these.
I had to use several times. They have the bad habit of going awol.
Four method is via the registry editor. If you are comfortable with editing the registry, give it a try.
The easiest and safest way is three method.
......................................................................................................
You can also do a system restore. Choose the date where all of your missing icons were present as your restore point.Start button > Search box, type system restore > press the Enter key > uac prompt > click on choose a different restore point > next > select dates as your restore point, click
> Next > finish
To sit and wait. The machine restarts when it's done. -
Toolbar is not functional cannot use the cross at the top to close and cannot minimize or maximize the pages.
What program is this (name and version)?
Are you sure that the title bar is not hidden because the screen is in full screen mode? Make sure it is in normal mode (usually hit the ESC key will do that). When you say that you "cannot minimize or maximize or close pages" is because you don't see these icons or press them, and they do not work? You see the title bar? Is it the same with EACH program or all instances of this particular program, or only with this page?
If it's an open program, you can still use the toolbar at the bottom of the screen and do a right click on the prgram open and then click Close. If it isn't there, it can also be hidden. Move your mouse to the bottom of the screen and see if the toolbar appears. If so right click on it and select properties and uncheck Hide able toolbar and click OK to close - that way it will always show (except when it is in full screen mode).
You can also press CTRL-ALT = DEL to bring up the Manager tasks, go to Applications and select the program that you want to close, and then click end task.
If you have access to the Menu bar, you can usually go into file, and then click close tab or simply close.
If you can help me with answers to my questions (assuming that what I said has not solved the problem), then I will answer you with some suggestions to solve the problem (whatever it is)-, but there are too many possibilities without knowing more about the problem.
Thanks and good luck!
Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.
-
Added drop-down list for the title bar
Hi - I want to add a menu component from the 'title bar ' of my application. Something very similar to that implemented in the Poynt application.
I already gave up to use something similar to setTitle and have a horizontalFieldManager added to my request before I add a vertical Manager. First, I added a label to my horizontal Manager field and that works fine, but when I tried (to test) to add an ObjectChoiceField he appeared on the next vertical row, not next to my text. I'm quite lost when it comes to customize aspects of the UI of my BB apps.
I suspect that the problem here is that, by default, the ObjectChoiceField will use the entire width. You should limit its width, by substituting the layout and getPreferredWidth for the ObjectChoiceField. Memory, a LabelField, will ask only for the width it needs.
Here is an example that puts a DateField and an ObjectChoiceField in the title area. I hope you can rework to meet your requirement.
HorizontalFieldManager hfm = new HorizontalFieldManager(); hfm.add(new DateField("Some Text: ", System.currentTimeMillis(), DateFormat.getInstance(DateFormat.TIME_DEFAULT)) { public int getPreferredWidth() { return 150; } protected void layout(int width, int height) { super.layout(getPreferredWidth(), height); } }); hfm.add(new ObjectChoiceField(" ",new String[]{"some", "text"} )); setTitle(hfm);
-
Hello
I want centered vertically align something (for example, a label) on a page with the qml following, but it is not aligned properly on the keyboard BB (720 x 720), it aligns on the contrary always on top. It aligns not centered vertically as expected on BB 10 all touch (1280 x 768).
import bb.cascades 1.0 Page { titleBar: TitleBar { title: "Title" } Container { layout: DockLayout { } background: Color.create("#444444") verticalAlignment: VerticalAlignment.Fill Label { text: "label" verticalAlignment: VerticalAlignment.Center } } }
I realize also realize that if I remove the title bar, and then it snaps as I want. Anyone have a solution this? Thank you.
Try with this:
titleBar: TitleBar { title: "Title" scrollBehavior: TitleBarScrollBehavior.Sticky }
-
Update the title bar or something when NFC Message received (HELP!)
I send you a message using NFC. I want to update the title bar title whenever my application receives a message. Code does not work.
I use the example of receiver NFC of GitHub with some modifications.
Any ideas why it does not work? In addition, no idea where I would add code to trigger another method, as soon as the new payload is received?
main.cpp
/* Copyright (c) 2012, 2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "NfcReceiver.hpp" #include
#include #include #include #include #include using namespace bb::cascades; Q_DECL_EXPORT int main(int argc, char **argv) { Application app(argc, argv); // localization support QTranslator translator; const QString locale_string = QLocale().name(); const QString filename = QString::fromLatin1("nfcreceiver_%1").arg(locale_string); if (translator.load(filename, "app/native/qm")) { app.installTranslator(&translator); } //! [0] NfcReceiver nfcReceiver; QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(&app); qml->setContextProperty("_nfcReceiver", &nfcReceiver); //! [0] AbstractPane *root = qml->createRootObject (); //set objects TitleBar* tb = new TitleBar(); tb = root->findChild ("titleBar"); Application::instance()->setScene(root); return Application::exec(); } NfcReceiver.cpp
/* Copyright (c) 2012, 2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "NfcReceiver.hpp" #include
#include #include #include //! [0] NfcReceiver::NfcReceiver(QObject *parent) : QObject(parent) , m_messageRecords(new bb::cascades::QVariantListDataModel()), //THIS PART BELOW. NOT SURE IF I AM DOING SOMETHING RIGHT OR WRONG NEED TO EXPOSE tb contextProperty to this class... tb(new bb::cascades::TitleBar()) { m_messageRecords->setParent(this); tb->setParent(this); // Create an InvokeManager bb::system::InvokeManager *invokeManager = new bb::system::InvokeManager(this); /** * The signal invoked(const bb::system::InvokeRequest&) is used for applications. */ bool ok = connect(invokeManager, SIGNAL(invoked(const bb::system::InvokeRequest&)), this, SLOT(receivedInvokeTarget(const bb::system::InvokeRequest&))); Q_ASSERT(ok); Q_UNUSED(ok); } //! [0] //! [1] void NfcReceiver::receivedInvokeTarget(const bb::system::InvokeRequest& request) { // The data contains our NDEF message const QByteArray data = request.data(); // Create out NDEF message const QtMobilitySubset::QNdefMessage ndefMessage = QtMobilitySubset::QNdefMessage::fromByteArray(data); // Fill the model with the single records m_messageRecords->clear(); for (int i = 0; i < ndefMessage.size(); ++i) { const QtMobilitySubset::QNdefRecord record = ndefMessage.at(i); QVariantMap entry; entry["tnfType"] = record.typeNameFormat(); entry["recordType"] = QString::fromLatin1(record.type()); entry["payload"] = QString::fromLatin1(record.payload()); entry["hexPayload"] = QString::fromLatin1(record.payload().toHex()); m_messageRecords->append(entry); } emit messageReceived(); //set titlebar title // this is failing... :( setTitle(); } //! [1] bb::cascades::DataModel* NfcReceiver::messageRecords() const { return m_messageRecords; } void NfcReceiver::setTitle(){ tb->setTitle("boo"); } NfcReceiver.hpp
/* Copyright (c) 2012, 2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef NFCRECEIVER_HPP #define NFCRECEIVER_HPP #include
#include #include #include #include namespace bb { namespace cascades { class Application; }} /*! * @brief A helper class that encapsulates the code to receive a NDEF message. */ class NfcReceiver : public QObject { Q_OBJECT // A property to make the received NDEF message records available to the UI Q_PROPERTY(bb::cascades::DataModel* messageRecords READ messageRecords CONSTANT) public: /** * Creates a new NFC receiver object. * * @param parent The parent object. */ NfcReceiver(QObject *parent = 0); Q_SIGNALS: // This signal is emitted whenever a new NDEF message has been received void messageReceived(); private Q_SLOTS: // This slot is invoked whenever the InvokeManager detects an invocation request for this application void receivedInvokeTarget(const bb::system::InvokeRequest& request); // SET TITLE Q_INVOKABLE void setTitle(); private: // The accessor method of the property bb::cascades::DataModel* messageRecords() const; // The model that contains the records of the received NDEF message bb::cascades::QVariantListDataModel* m_messageRecords; //NOT SURE IF I AM EXPOSING THE TITLEBAR CORRECTLY HERE bb::cascades::TitleBar* tb; }; #endif hand. QML
/* Copyright (c) 2012, 2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import bb.cascades 1.0 Page { titleBar: TitleBar { id: t objectName: "titleBar" title: "awesome" } Container { layout: StackLayout { orientation: LayoutOrientation.TopToBottom } // The background image /* ImageView { horizontalAlignment: HorizontalAlignment.Fill verticalAlignment: VerticalAlignment.Fill imageSource: "asset:///images/background.png" }*/ //! [0] // The list view that shows the records of the received NDEF message ListView { horizontalAlignment: HorizontalAlignment.Fill verticalAlignment: VerticalAlignment.Fill dataModel: _nfcReceiver.messageRecords listItemComponents: [ ListItemComponent { type: "" Container { preferredWidth: 768 leftPadding: 10 rightPadding: 10 Field { title: qsTr("tnf type") value: ListItemData.tnfType == "0" ? qsTr("Empty Tag") : ListItemData.tnfType == "1" ? qsTr("Well Known Type") : ListItemData.tnfType == "2" ? qsTr("Media (MIME)") : ListItemData.tnfType == "3" ? qsTr("Uri") : ListItemData.tnfType == "4" ? qsTr("External") : "" } Field { title: qsTr("record type") value: ListItemData.recordType == "Sp" ? qsTr("Smart Poster") : ListItemData.recordType == "T" ? qsTr("Text") : ListItemData.recordType == "U" ? qsTr("Uri") : ListItemData.recordType == "Gc" ? qsTr("Generic Control") : ListItemData.recordType == "Hr" ? qsTr("Handover Request") : ListItemData.recordType == "Hs" ? qsTr("Handover Select") : ListItemData.recordType == "Hc" ? qsTr("Handover Carrier") : ListItemData.recordType == "Sig" ? qsTr("Signature") : "" } Field { title: qsTr("payload") value: ListItemData.payload } Field { title: qsTr("hex") value: ListItemData.hexPayload } } } ] }//end listview Label{ // I WANT TO GET THE PAYLOAD AND PARSE IT IN A CUSTOM WAY HERE.... id: parsedText text: "" textStyle.fontSize: FontSize.XXLarge textStyle.color: Color.Black } //! [0] } }
I'm just trying to help here. What does not work is I looked at your code and I looked at my code and I do not have a reference point on what parts do what...
I want to respond in a tough manner and does not help when I'm obviously confused on the implementation and the instructions are not clear. The documentation is written for someone who has already worked with NFC and protocols, not beginners wishing to implement NFC functionality in the application.
Based on this kind of response, I'll just leave NFC functionality out of my application.
-
Don't want to see the title bar, address bar, toolbar mode of operation.
Jin
I need to install the application on the client side.
Here, I don't want to show him the title bar, address, bar the toolbar in operation.
I want to, the application must be run in either full-screen. For this I created an icon on the desktop, through this user can acess application when the user clicks on that icon then user out by the log in page.
Purposes of titles, I want Address Bar etc.
How can I use applications using the full screen.
Thank youHello
to launch Apex, we use a file like this hta:
Apex <>
ID = "MyApex".
applicationName = "Apex".
Border = 'thin '.
borderStyle = 'normal '.
Caption = 'yes '.
contextMenu = 'yes '.
Icon="C:\apex\apex.ico".
innerBorder = 'no '.
maximizeButton = 'yes '.
minimizeButton = 'yes '.
navigable = 'no '.
Scroll = 'yes '.
scrollFlat = 'no '.
selection = 'yes '.
showInTaskBar = "yes".
singleInstance = 'no '.
sysMenu = 'yes '.
version = "1.0".
windowState = 'normal' >Sub Window_Onload
window.offscreenBuffering = True
window.moveTo 0, 0
window.resizeTo screen.availWidth, screen.availHeightDocument.write("
Apex by Beta Software snc " )
Document.write("")
End Sub
Maury, name the file apex.hta and try out it.
Gianluigi
Edited by: gianluigi.trento the 15.09 8-Apr-2010
-
Is it possible to add a mute icon on the status bar
I understand the desire to keep the clean status bar, but a mute icon would be really useful for many users. This is my first iPhone and I had a LIFEPROOF case to protect it. The problem is that this case does not allow me to determine the setting of the switch ring looking from the side of the phone. The only way that I can know if the ringer is on is to flip the switch back and forth while watching the status of ringtone icon screen.
Yyou possibly tell there is a problem with the case, but I bet it's true for most cases, in particular the raincoat water ones. If Apple does not support to add even an icon to the status bar at least Apple could put on display today ' hui / Notifications of menu drop-down.
You can provide feedback to Apple here, http://www.apple.com/feedback. This is a user to user support forum, and Apple is not here involved. It is the only way for them to know you want to see a change.
-
My phone icon left the lower bar. How can I move it back
My phone icon left the lower bar. How can I move it back
Press and hold on the icon of the app until it wiggles and then drag it in the dock. After you do this, press the home button to stop agitation apps. Note that you can have 4 icons in the dock.
Organize the applications on your iPhone, iPad or iPod touch - Apple Support
Maybe you are looking for
-
What happened to the option "empty trash secure?
Installed in El Capitan a week ago. Went to empty the trash for the first time after the update. "Secure Empty trash" option is no longer appears. So do not overwrite ransacked files? That means that they are really still there, just a little more
-
Satellite L300 - wouldn't connect to the router
I've had this laptop for 2 months, it worked very well to connect to my WiFi router, then one day it would not connect, although I had a signal from my Siemens SE587 router and my Tiscali IP, but I got the message 'there must be a problem with one or
-
After installing an update of the bios recommended on the hp website my dv6131od running xp pro sp3 will not load windows Update does not seem to have problems - failure, lack of time for flash, backup, etc. boot sequence seems normal (finds it a boo
-
a few times I connect via wireless and connection is ok, but suddenly, I realize that it connects through the provider of mobile society that is not free... I can't play face book games... etc.
-
I purchest a new Dell Studio computer Vista last week and I would like to put my video I have on cassettes VHS on DVD, what do I need and how do I connect it?