A new bie here...
I am using a segmentController..in that there are three segments...Say segment A,B,C
Now I want this functionality...
when I press Segment A..Table A comes up..
when I press Segment B..Table B comes up..and
when I press Segment c..Table C comes up
well I know all the label change and that stuff...but what about the tables?? and again when I press the row elements they navigates me to another views and I want segment control to be displayed in navigated view also..
well ... can anyone please tell me how to do this??
any suggestion..any tutorial..any example code...any logic...anything....:)
Here is the link shows the simple Segment control. And when you want to add a Table , it is having the sample process , connect the delegates and data source. HERE is the descussion on the kind of similar question as your one.
This is the Class Reference of Segment control, which provides you a lot many examples this shall help you.
Hope this will help you.
Related
In my application, I want to implement a drop down view when selecting every row in the table view.Can u give me an easy solution for implementing this functionality.
Thanks in advance
this type of functionality for that visits following link Please visit here.
You can also consider using navigation. That is how it is usually done in iPhone. On selecting a row in a table, push another table with the values you want to show in the drop down.
Apple has a sample code of TableView which deals with this issue. https://developer.apple.com/library/ios/#samplecode/TableViewUpdates/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40010139 is the link to download the sample code from Apple developer library. Hope it helps.
It seems that you are requiring a popover on selecting a tableview cell.
Download and run the sample application provided here.
I hope this is the one you required.
I am new to bada programming and I am facing some problems. I am currently creating an app that consists of 6 tab bar item, each of which have a different form and have different controls in each form. I have tried following the example on http://www.badadev.com/forms-management-in-bada-part-3-managing-forms/ , however, I have set up all the controls in the form, but it does not respond and does not AppLog when I clicked on the button. Can someone please help me on this???
It is very hard to solve your problem that way(without seeing your code). Take look on a XmlParserApp example. It is using FormMgr and maybe you can get some good ideas. Or it is important that you have base class tabsForm that all the forms inherit?
In my app, I created question label and four custom buttons [options]. Ex:- Who is the king of Forest? is question label and options are like a. Tiger b. Elephant c. Lion and d. Deer in UIView. and two buttons to change the contents of next view to another question with options and to open up previous question. how to create multiple instances of same view with one label and four buttons in iphone sdk. request you to help me to over come this problem with sample apps or with code. thank you in advance...
i can explain the logic but not sure hw it can be reached , so check this Example , Link
Go to This link, downlaod the code samples , find flag quiz example - there you finished your quiz app.
http://deitel.com/Books/iPhone/iPhoneforProgrammersAnAppDrivenApproach/tabid/3526/Default.aspx
Hope this Helps!
I've got a class with a list(4 item) of data and I want to show all in a combo box. how do i do that maintaining Model-View-Controller?
I am a simple ComboBox and my job is to display things in a list, but not so much as to have the entire thing drop off the bottom of the screen causing the user to physically tilt his monitor to select items. Because of this, I implement a scroll-bar. Anyhoo, I'm empty right now and I need some data, can you help out?
Regards,
ComboBox (_idCounty)
Dear ComboBox,
Thankyou for your recent enquiry. As it turns out I DO have some data for you that you can display. Here it is.
Regards,
Model
PS: Make sure you listen to Controller!!!
In short, simply query the model for the data you require
I am planning to implement a lecture capture solution. One of the requirements is to record both the presenter and the slideshow. The presenter is recorded with a videocamera obviously, and the slideshow will probably be captured using a tool like Camtasia.
Now during playback three components are visible: the presenter, the slides and a table of contents. Clicking a chapter title in the TOC causes the video to navigate to the corresponding section. This means that a mapping must be made between chapter titles and their timestamps in the video.
Usually a change of topic is accompanied with a slide change in the Powerpoint presentation. So the timestamps could be deduced from the slidechanges. However, this requires me to detect slide changes during the live presentation. And I don't know how to do that.
Anyone here knows how to do detect slide changes? Is there a Powerpoint API where I can connect event handlers or something like that? I'd greatly appreciate your help!
Edit
This issue is no longer relevant for my current work so this question will not be updated by me. However, you are still free to help others by posting your answers/insights here.
Here's some code that will get you most of the way there.
First, in PowerPoint VBE, create a class, call it clsPPTEvents. Put the following inside:
Public WithEvents PPTEvent As Application
Private Sub PPTEvent_SlideShowNextSlide(ByVal Wn As SlideShowWindow)
MsgBox "Position: " & Wn.View.CurrentShowPosition & ", Time: " & Time
End Sub
Then create a module, call it anything, and put the following inside:
Public newPPTEvents As New clsPPTEvents
Sub StartEvents()
Set newPPTEvents.PPTEvent = Application
End Sub
Sub EndEvents()
Set newPPTEvents.PPTEvent = Nothing
End Sub
By then running the StartEvents sub, you can go into presentation mode and on every slide change, the slide number (position) and current time of the change will be displayed in a message box. You can use these (or other) variables to write to a file. Upon exiting the running slide show, you can then run EndEvents to stop the API hook.
It would be elegant to detect the slide changes, but wouldn't it be more practical to have the presenter to type a hotkey whenever there is a topic change? Or anything similar, but cooperating with the presenter, since he knows best when the topic changes.
Sorry not to provide an elegant answer.