Why calendar constant is showing in codenameone? - calendar

I want to customize calendar by using theme contact in designer but i did not find the constants for calendar in theme which is shown in attached image And I have looked in chrome demo app and i found that there caledarleftimage ,calTitleDaystyleBool and many more . How to get these contanst in my app?
And how can i use this codenameone-calendar in my project ?
https://code.google.com/p/codenameone-calendar/
I have used designer but I did not fine the caledarleftimage constant

You can just type the constants into the UI, its an editable combo box that allows entering anything you want.

Related

Gmail style autocomplete picker for WPF

I'm looking for a WPF control that looks and functions like gmail address bar. Essentially, i want a textbox based multi select picker with autocomplete. I tried searching around, and I couldn't find any. Is there something readily available?
Although it is paid component, check out Telerik RadAutoCompleteBox component.
The screenshot is taken from official WPF demo application. You can download demo application at here: http://demos.telerik.com/wpf/

No transition on first form

I am using a CN1 project created by the CN1 plugin in IntelliJ. I have built a form by hand (not using the GUI builder). I would like the first form shown to be my form. Unfortunately, it seems to bootstrap code that loads the theme expects me to use a form created in the GUI builder. In fact, when my application loads, it briefly shows the default Hello World screen, and then transitions to my form by scrolling the form from right to left. How do I make my hand-coded form the first thing on the screen appear without any transition?
It would seem that I could just override StateMachine.getFirstFormName(), but my form is not known to the underlying code.
There are many ways to do this... Try creating a new project with Get Started template selected.
Open MyApplication.java or any other name you changed MyApplication to. Replace the hi form code and use this as your code foundation.

How do you get ActionBar from SocialBoo theme to show up in your GUI?

Ok. Starting over with this. I see that the SocialBoo theme has something similar in what I want to achieve. If I find that I can work and improve. I Added a new socialboo theme and created blank GUI. Assumed it would be a Commandbehavior but that didnt do the trick, so did adding tabs. Seems like those components are not for that specific bar... However did notice another issue.
How do I get the social actionbar as displayed in the socialboo theme? (Screen shot). Assuming those images etc are part of the default theme, right.
Also, If I create a TouchCommand = bar, title or native. It displays fine in Gingerbread but not ICS. DO you know why is that? (screen shot)
Thanks, in advance.
Those images aren't a part of the theme, they are a part of the specific demo. If you add a Tabs component to the center of the border layout UI you will get thee tabs where the "icon" property will allow you to customize the unselected icon and you can customize the selected icon as well. You can see the full source/resource file of the social boo demo in the docs and demos zip in the download section.
Generally customizing commands is a bit complex because of platform specific constraints, when running on an Actual Android 4 device we use the native ActionBar by default to provide the experience Android users are used to. This is hard for us to simulate so you will only see this properly in the device build. I suggest not relying on commands, it seems that what you are trying to achieve is easily doable with tabs and its possible that's why you had difficulties in your other question.

wpf checkbox doesn't display over citrix

So we have a WPF app deployed on a citrix server, it all works fine except that the checkbox won't show that it has been clicked (it's actually working just fine). So weird - just that one little thing, I have buttons which I have customized the pooh out of using visual states and those are all fine. A google search of "wpf checkbox citrix" turns up nothing useful. Anyone seen this or have an idea where to look?
Thanks
There might be some incompability between the display driver, Citrix, and the CheckBox default style for the active Windows theme. I would write a simple CheckBox template (I can include one if you need) and see if that works, and if it does, use that instead of the default theme style.

What is the difference between "User Control" and "Page" in Silverlight?

I am really new to Silverlight. I am working through some of the sample codes I found online.
I notices sometimes a new "Page" is added, and sometimes a new "User Control" is added.What are the differences between those 2?
Btw, when I tried specifying the URL for a hyperlink as "www.apple.com", there is an error saying "www.apple.com" can not be found. Are there anyway of specifying an URL for a website for a HyperlinkButton?
Thanks :)
In SL3 and up; a Page correlates to the Navigation framework whereas a UserControl is a control providing a defined set of functionality using multiple controls which can then be used within a Page.
User Control:
When you build your project , any user control that you created will appear in the toolbox also. You can drag and drop it like any other control (like a button or a grid).User controls are used for enhanced flexibility. You can customize your controls, set as many properties you want , and it really simplifies things without going for creating custom controls.
Page:
However, when you come to a Page, you can use it mostly for Navigation . It can contain other controls , but it is mainly intended for Navigation within Frames.

Resources