on 07-16-2009 4:26 AM
Hi all,
I'm using VC7.0 SP17. Got a few questions that i find it difficult to find info on the net. Hope u could help to solve them.
1. I was about to add an image on my view as a banner/logo. According to the tutorial steps: click on layout tab > drag the image control on the compose task panel into my storyboard. but i dont see any image control on the compose task panel even my compiler is set to flash, flash (flex 2), nor web dynpro.
However, im able to add an image in my form view whereby i create a new field which is of type image. but that is not what i want.
is the image control available only VC7.1?
2. my model
[input form] --- [data service1] --- [chart view] --- [data service 2] --- [table view]
once i submit the input parameters in my input form, it calls data service1 n generate a chart view. but before i click on the chart view, it immediately load the data into the table view. is there anyway i can control the loading of data into the table view??
Hi
Image control is not available in VC 7.0. You have to use it in the form only. But you can do one addition thing, in the visibility of the form make it 'Transparent'. So that you will not see that form in the run time & you can adjust the view of the image so that you can get what you want?
I hope this will solve your problem. You said you dont want to use it inside form view, is there any reason? please tell me
Regards
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can assign an event to the image. for this you need to define the action in the action tab for the properties of image..
for example: if you want to navigate to a different layer when you click on the image, you can define a custom action goto_layer and use that action as an event.
regards,
Rk.
Hi
If you want to trigger a event from image it is possible. Follow the steps -
1. Right click on image control & go to the properties.
2. in that go to the 'Action' tab & select system actions.
3. Select action 'Hyperlink' from the list of actions.
4. Now it will ask for hyperlink of the event, for this deploy the event separately & paste that link in this 'Hyperlink' action.
5. After doing this, at run time when you click on the image you will get that event triggered in separate window.
I hope this is what you are looking for.
Regards
Sandeep
yes, you can do that with the help of some custom actions and datastore.
let me give you an example of disabling and input field when you click on image: feed the datastore with 'false' whenever you click on the image (this is done through custom action), and use this value in data store in the conditional operator to disable the input field.
hope this clarifies your doubt.
Regards,
Rk.
Hi,
Regarding your second question, you can put a guard condition in the connection between chart view and data service 2.
try these steps.
1. connect a data store to chart view and pass the value that you are sending to data service to the data store also.
2. in the guard condition write a formula such that the value will be passed only when the value in the data store is not null. (i.e. the data service 2 will be triggered only when there is a value in the data store.)
hope this helps.
Regards,
Rk.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rk,
Thanks for the answer, it helps. but when i try to create another data store, the new data store has been prefixed with fields which are the same as the 1st data store. the same goes to the 3rd data store.
is that means that, an iview can have only one type of data store which the fields are all same no matter how many new data store i create?
one more question is that..where can i find some guidelines on writing dynamic expression and guided conditions in VC?
Thanks
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.