custom

Custom tabbar below navigationcontroller issue iphone

Hi all, I have created a custom scrollable tabbar [scrollview with buttons over it] below navigationcontroller. I have two tabbars already in standard tabcontroller at the bottom. For the standard bottom tabs, I have created two navigationcontrollers in xib with two different nibs for both. I'm loading a tableview in one of the lower ta...

grouping texts plus images + round edges in android.

i was requested to make in android a view that groups several items like checkboxes or text views in vertical rows, separated by transparent dividers while the background is with a certain alpha level and the edges are round. I thought of two solutions and i hope for some feedback on good\bad or other solutions if you got'em. just use...

Python/Django: Adding custom model methods?

Using for example class model(models.Model) .... def my_custom_method(self, *args, **kwargs): #do something When I try to call this method during pre_save, save, post_save etc, Python raises a TypeError; unbound method. How can one add custom model methods which can be executed in the same way like model.objects.get()...

CKEditor add more symbols

Hello! How can I add more "custom" symbols in the Insert Special Character panel please? Thank you. ...

Why is my custom module not available after YUILoader.onSuccess event fires?

Hi all, Trying to write better JavaScript, woohoo! First step for me: YUILoader dependency loader so all of my custom code is available to use at a reliable point in time. My current environment: YUI (2.8.1) library path: C:\wamp\www\lib\js\yui\2\build\ (http://localhost/lib/js/yui/2/build/) All YUI min, debug and raw files located ...

django admin Add custom button + custom form

Hi all, I want to add a custom button near 'Add model_name'. When i click on the newly created button i should like to show a custom form where I cans elect a model out of a select box. When i click on save I want to save this model and chance some parameters so it's a 'add' but without selecting all options again. I give a clear exampl...

Custom Title Bar and Form Borders

I have a form that I would like to draw a custom title bar with as well as custom borders around the application to take over the form resizing. I turned off the regular title bar for the application and build my own out of a couple image which i set to anchor to the application. The issue is when the form is resized, it looks very chopp...

WPF button problem with style

Hello.. I have to create a custom styled button. The problem is that although i change everything when mouseovering it or when it has focus it gets the original colors! Tried to set FocusVisualStyle="{x:Null}" but it keeps doing it.... <Button Content="Button" Height="143" Margin="85,76,190,0" VerticalAlignment="Top" FocusVisualSty...

What kind of jobs are there for a small web dev shop?

Sales guy here (duck) has a 3 programmers strong team at hand and asks what kind of clients he could provide them with. They love RoR but are not shy of other technologies. They want to do web development as a team. Now the question is what kind of projects can they realistically tackle? I researched the market and it seems there are...

Android create your own menu

I want to build my own menu from the beginning so to be able to put more then 3 items on a raw and put a custom theme. I know it's possible because I saw in other applications, but I am new in Android and I don't know how to do this. Thanks in advance. ...

TCPDF Custom page size

This example on tcpdf's website shows how to use page formats like A4, A5 etc, but how do I set tcpdf to use custom sizes like 175mm x 266 mm? Solutions appreciated. ...

Custom locale in Android

Hi, the Android phones in Slovakia have a custom locale - en_SK and cs_SK. Language is either Czech or English, location is Slovakia. Now I would like to have strings that target these locales. The default approach is to create a folder "values-CountryCode", for Czech Republic it's values-cs. But I get a build error if I add a folder ...

Change format of date in DatePickerDialog?

Hello, Following the Android SDK tutorials I have implemented my first basic date picker dialog. It works fine but is there any way to change the format of the date shown? Example: The date picker dialog displays the date as "17 Oct 2010". I would it like to be displayed as "17 10 2010". Greetings, Robert ...

PHPDoc custom sections and grouping

I am in the process of implementing an event dispatching system based in our application using the Symfony Event Dispatcher. A range of modules will be can be enabled or enabled by administrators and a central registry will automatically register the events that a plugin is interested in and handle the dispatching of events. We current...

PHPlist - when sending to a list, placeholder is ignored.

Hello. I have a problem: I have modified sendemaillib.php code in order to check for a custom placeholder in the message. The code checks for [AVAILABLESPACE] like this if (eregi("\[AVAILABLESPACE\]",$htmlmessage)) { and if found it queries one table to get the current number of available space so that I can write in my emails "Regis...

Newb: WPF custom graphic control - where to start

Hi All, Apologies if there is a thread for this already, I couldn't find one that I could get my teeth into. Anyway, I'm new to WPF and want to create a custom control that will be a sort of graphic control. The graphic will always consist of a circle, containing a matrix of several squares (from several hundred to several thousand act...

Solr - Writing result of an Analyzer to different fields

Hello all, I have read a couple of tutorials and browsed the Solr documentation. But one thing isn't clear to me. Let me explain: Let's asume that the following document shall be indexed: <doc> <field name="id">R12345</field> <field name="title">My title</field> <field name="content">My Content</field> </doc> Contrary to this ...

objective-c custom UITabBarItem @2x

is it possible to assign a highres custom uitabbaritem image? UIImage *img; img = [UIImage imageNamed:@"[email protected]"]; self.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"more" image:img tag:5]; this doesnt work. is there a workaround, or even better an officel link / solution for this usecase? thanks alex ...

ArrayAdapter of a dynamic size in Android

I need a gallery to be able to hold up to thirty custom views. These views need to added or removed whenever, they also need to be able to be display in a display bow beneath the gallery. How do I do this? I looked at the doc file for arrayadapter but it requires me to use a reference Id for each view I add, but each view is all java cod...

Actionscript 3 - Custom Event not being received.

Hi, ActionScript 3, just learning AS3 but know a handful of other languages. What would cause an event that the listen call executes without throwing an error and was successfully dispatched, to not be listened to? dispatch call (this runs ): private function HandleMouseClick( e:Event ):void{ if ( m_MouseState == MOUSE_STATE_SELECTED...