I have a requirement to show email recipients contact in a window. I am confused on what ADF layout is to be used.
Requirement is :
|To: <.input field> <.Contact name1> <.Contact Name2>... |
Contact names can be upto any number. So, if it takes up maximum width, next contact should be in the next line.
As far as i know, PanelGroupLayout can be either horizontal or vertical. So it doesnt help me here.
PanelFormLayout arrranges the contacts vertically first. So i cant use it here.
Is there any other ADF component that can be of help? Or do i need to write code and programatically create components with different layouts?
You could use the PanelFormLayout to layout field and their prompts and try changing the rows to 1 and maxcolumns to however many you have. Or the PanelGridLayout, depending on ADF version, which you don't mention.
Related
Is it possible to add an arbitrary label to a GA4 exploration?
For example I am tracking outbound link clicks for phone numbers. I would like to add a short description to each number.
I was thinking something like if Link URL equals 'tel: xx xxxx xxx' a label would say 'city office'. Any ideas on this?
Well... You have GTM tag added to your question. This implies that you're ok having a GTM solution.
Well, in GTM, find the tag that fires on the phone clicks, add a custom event property to the tag that would contain the description of the numbers, make a custom JS (CJS) or a look up table (LUT) or better a regex LUT, and map your numbers to descriptions.
Then go to GA and register that event property as a custom dimension. Done.
You could also override the link url dimension in GTM with a CJS var that would generate descriptions in the same dimension, but it's not a good idea to override default dimensions unless you're confident about what you're doing.
GA4 has capabs to modify event properties, but it's extremely basic and won't be able to change properties based on their values. Also, it's a bad idea to have data modification logic in GA. It's best to contain all data modification logic in one place whenever you can help it.
There are 2 regions on my Oracle apex page, the top one is like a header section, which I want to keep it "floating" on the top the screen while the rest of the page scroll. (like the invoice header info always available when the user scrolls through a long transaction log.)
I have done some google search on this and someone suggested identifying the parent class(e.g. "parent_class") to the Region Header, and add the following CSS to the header of the region
.parent_class{
margin-top:0;
position:fixed;
right:0;
}
I tried but seems like not working unless I got the parent class wrong.
Can someone please give me some advice on this?
You need to use top instead of margin-top.
Here is the technique I have used in the past...
http://www.modernapex.co.uk/floatingbuttons/
You wont need the JS stuff I don't think, as that's about switching a region between fixed and static, but the technique may interest you.
Is there a way how to display some contacts from Outlook's contact list in different manner?
So far I've seen, that there is quite some customization available for Office applications, however I haven't seen anything even remotely close to this functionality.
No, there is no way to display Outlook contacts in a different color.
Well, indeed this is what I found - it is possible only via adding of the new AutoFormatRule to the Outlook.TableView.
Sample code would be something like:
Outlook.AutoFormatRule autoFormatRule = tableView.AutoFormatRules.Add("My own rule");
autoFormatRule.Font.Bold = true;
autoFormatRule.Font.Strikethrough = true;
autoFormatRule.Filter = <filtering>;
tableView.Save();
tableView.Apply();
For filling in 'filtering' part one can use DASL Queries
But I still need to figure out what to do with the non-list views.
I can suggest only one possible way - replace the default folder view with a custom form where you can display entries in the way you need. See Creating Adjacent Windows In Outlook for more information.
Also you may consider using Add-in Express. They provide such layouts out of the box. See Advanced Outlook view and form regions.
Note, you can use any .net controls on top of custom forms.
I really need help for creating a DevExpress XAF Windows application having a GanttView with special abilities including;
auto arranging of dependent appointments
resizing on holidays/not working times
hiding holidays/not working times, showing only working time intervals
please help, thanks in advance.
I will probably get hit with a stick over the head for "me too answer" but I have this task on my list for near future as I am working on something that needs to offer this functionality.
This is how I was going to approach this:
1. create BO to hold project definition or a query of some sort. Goo example to follow is how report module BOs are stored in the database.
2. create win or/and web editor for this type of business object.
3. the editor will contain either chart form charts module or scheduler view in gantt mode (depending on what you need)
As i get to this task myself I can provide more details or share an example.
here are some links to look at:
`
[http://www.devexpress.com/Support/Center/Question/Details/Q357411]
`
Main consideration for choices you have to make:
do you just need to display the view or interact with it too (chart control vs scheduler)
do you have to deal with source of the data that already has some schema you have to follow or do you have ability to model data as you want.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
What is the code for displaying picture in Visual Foxpro 6?
Does anyone know the codes for displaying a picture that is found within a Column in a table using Visual Foxpro 6?
My project was Library System, that includes the time in and time out of the librarians and students. And needs to upload a picture of students together of their information in the registration.
Example:
If a student enters the Library , he/she needs to swipe his/her ID to login or time in and his/her information will appear on the computer of the admin. Same process when he/she leaves the library . . . he/she needs to swipe his/her ID then logout / time out.
I think your question is vague and misleading based on other answer provided. What is SOUNDS like is that you have a database of teachers and students (much like a membership as a gym or similar). For each record in the database, you have an image file associated with that person. The image may be part of the actual table, or just a file name that is pointing to a specific directory on your drive share, where all the people images are available.
From that, these people have ID cards and when they enter a given facility (your Library for example), they run their ID card through a reader. At that time you are doing a search from your network database of users, find the user and pull up the image to the screen to show who the person is to help prevent fraud of someone using somebody else's ID card. This allows the person monitoring the entry area to make sure that Jim is not using "Bill's ID card to gain access.
If this is the case, and your VFP app is already running and ready to read from the card reader, you should only need to add an image file to your screen for presentation somewhere. Then, based on your finding the appropriate ID, get the record, analyze (if part of the record or just file name in a given images path), get the image file and set the property on the image control to point to the correct image. Then, do whatever logging update that states that Bill just entered the facility.
-- update per comment --
Jenna, I don't know how the original records were added to your table, and it sounds like you were handed this project. The column type within VFP is that of a "General" field. Somewhat like that of a memo field that can also hold binary data, the General data type is more for Object Linking and Embedding (OLE) content. It appears that when users were storing the values, they were adding as a linked or embedded content via something like
APPEND GENERAL YourPictureColumn from SomePath\SomeFileName.bmp
check the syntax under VFP 6 for "APPEND GENERAL". You can also state how via a LINK to the actual file vs EMBEDDING by having the actual image included so if the original source is removed, you still have it in the file.
As for the "picture frame" you see when you double-click this column, it is because VFP does not know how to properly interpret the image, such as as "MS.Paint" class object, or "Picture", or whatever. I've never really liked doing General fields, but would instead have a memo field with just the name of the full path/file name of the image I was keeping and had a separate folder to just stick all the image files. Then, when I needed to show that specific image, I would change the property of the image object on the VFP form to that location.
Now, if that is a route you might like to go with, I'm not exactly sure out to extract those image files, but can look into it more.
As for testing the concept of the image sampling, in VFP, make a new folder for a sample form.
Copy in the folder a few images to sample.
Create a simple table with 2 columns...
CREATE TABLE MyPicSample ;
( PersonName c(10),;
ImgSource m )
Add as many records as images you copied to the test folder. For each, put the file name of the images (full path) into the "ImgSource" memo field, and a sample description for the "PersonName".
Next, create a form, open the data environment and add the "MyPicSample" table just created.
Drag this table from the data environment to the form and it will create a grid on the form. Resize it some you only need a small amount of space to show the one column for PersonName. Close the data environment.
Add an "Image" control to the form. It should default the object name to "Image1"
Double-click on your grid to bring up its code snippet window and then double-click on the "AfterRowColChange" event... paste the following over it..
LPARAMETERS nColIndex
Thisform.Image1.Picture = MyPicSample.ImgSource
Save and run the form. As you scroll up/down the grid, you should see the image change to the respective BMP/JPG file.
I think this is the concept of what you want, but instead of a data table grid displayed, you will be doing this from a scanned card that gets a record, has an image and then present THAT image (now in a General data column type).
Again, not sure how you have your images via embedding or linked, but with this, we can probably get going closer to your end-result needed.
Depends on where you need to upload the image to.
If you are uploading via FTP, you should be able to use the following snippet in Foxpro. It's utilizing the Internet Transfer Control.
inet = CREATEOBJECT("inetctls.inet")
inet.Execute("ftp://ftp.microsoft.com", "CD DIRNAME")
inet.Execute("ftp://ftp.microsoft.com", "PUT LOCALFILE REMOTEFILE")