Search Results

Search found 12 results on 1 pages for 'ghiboz'.

Page 1/1 | 1 

  • UIViewController remove subview

    - by ghiboz
    Hi all! I add a view as subview of my uiviewcontroller like this: // into my ViewController: UIImageView *imView =[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"img.jpg"]]; imView.frame = CGRectMake(2, 46, 1020, 720); [self.view addSubview:imView]; now, with another button I wish remove the imView from the subview chain.. how can I do to do this?? thanks

    Read the article

  • Draw a line over UIViewController

    - by ghiboz
    Hi all, I have my app on iPhone with a UIViewController with some stuff inside.. image, textbox, etc... is there a way to draw a line or something like this using opengl directly inside the UIViewController? thanks in advance

    Read the article

  • Move UIImageView inside accelerometer delegate

    - by ghiboz
    Hi all! my view controller is set to accept accelerometer delegate, and if I put the accelerometer value inside a label works... after I tried to move an UIImageView into my ViewController and nothing happens (the image is putted into the view from the interface builder... (i try to move the image using the frame origin properties) thanks in advance...

    Read the article

  • ipad simulator error after distribution

    - by ghiboz
    Hi all, I developed a test app and I tried to use into the simulator.. all works fine! After, following the document "iPhone_developer_program_user_guide" I made the distribution version of my app (and xcode built it without problems). After this, I couldn't try the distribution 'cause I don't have iPad, but when I selected the debug type and relaunched to the simulator, the simulator starts, become all black and xcode give this error: I sent the .app and the .mobileprovision to my mate that have the iPad (configured with the udid) and retrieve an unknown error (0xE8008001)... thanks in advance!

    Read the article

  • Format string, integer with leading zeros

    - by ghiboz
    Hi all! I Use this code: NSString* strName = [NSString stringWithFormat:@"img_00%d.jpg", pp]; and works fine, but if pp took the value of 10 for example I wish have img_010.jpg as result, and not img_0010.jpg... how can I format the string?? thanks

    Read the article

  • Populate DataGridViewComboBoxColumn runtime

    - by ghiboz
    Hi all! I have this problem: I have a datagridview that reads the data from a db and I wish, for an integer column use a combobox to choose some values... I modified the column using DataGridViewComboBoxColumn type and after, on the init of the form this: DataTable dt = new DataTable("dtControlType"); dt.Columns.Add("f_Id"); dt.Columns.Add("f_Desc"); dt.Rows.Add(0, "none"); dt.Rows.Add(1, "value 1"); dt.Rows.Add(2, "value 2"); dt.Rows.Add(3, "value 3"); pControlType.DataSource = dt; pControlType.DataPropertyName = "pControlType"; pControlType.DisplayMember = "f_Desc"; pControlType.ValueMember = "f_Id"; but when the program starts (after this code) this message appears:

    Read the article

  • DataGridView fails SelectedCells property

    - by ghiboz
    Hi! in my project I have 3 DataGridView and I need to retrieve the SelectedCells of the grid in 2 grids this works fine, but in one ( and the code is exactly the same of the other 2) the grid.SelectedCells.Count is 1 but If I go in the inspector to view which cell is selected, the result is 0,0... thanks

    Read the article

1