
Search In
For storing new user information in database, first we have to create a new table in database which contain user name,email,password fields.
The logic of the controller is written below. In below code we have create a function registration ,so
In OpenERP first we install human resources module and then create a new partner in partner form. Manage partner tags to better classify them for tracking and analysis purposes. A partner may have several categories and categories have a hierar
Sometimes we need to change the label of a button on click event. Suppose you have button label as "Start" and you want to change that to "Stop" upon clicking start button.
Example: In the below example I've created a functio
Here is the code for creating the triangular uiimageview -
UIBezierPath *bzrPath = [UIBezierPath new];
[bzrPath moveToPoint:(CGPoint){0, self.imgView.frame.size.height}];
[bzrPath addLineToPoint:(CGPoint){80, 0}];
[bzrPath addLineTo
If you want to move gameobjects back and forth in unity than you can do this by using a function Mathf.PingPong. This function takes two float
values we can say 'q' and 'length'. It will ping-pong the value 'q' so that i
Hello all !
For adding Gradient effect to the UIButton we can implement the following code :-
CAGradientLayer *gradientLayer = [CAGradientLayer layer];
gradientLayer.frame = _customButton.layer.bounds; // _customButton is the outlet of UIButton
If the user doesn't want his content to be copied or only want the other user to read it. He can use the following code of lines to disable the selection of text in the browser.
<div style="-moz-user-select: none; -webkit-user-select: none;
Below code is used to find number of days between two dates
NSDateFormatter *startDateformatter = [[NSDateFormatter alloc]init];
[startDateformatter setDateFormat:@"dd-MM-yyyy HH:mm:ss"];//setting date formate
NSDate *startdate = [st
We can share post in Facebook by using following steps:
Add one button on ViewController and give action to it.
Import #import <Social/Social.h>
Now in button action write following code.
- (IBAction)facebookButtonAction:(id)sender {
In OpenERP first, we create custom module and then create function in your existing module and pass parameter in function name is MaterialsRecursive.
In below example I have written Python script to Include only parent level class. Like given below
