I create a project and one of its features is to copy images (or bitmaps) by clicking a button. What I mean is that by clicking once only one small picture will be shown, by clicking an other one time two small pictures will be shown, by clicking 3 times there would be 8 etc. (2^(the times the button is clicked)). Can you help me with the code because I can't express it in vb.net code.
I thank you in advance
I have troubles to understand your question, could you clarify in what way you want the pictures to be shown? And if u want to copy them or just show these pictures in some sort of preview Form?
(sorry to post this As an Answer, but im missing reputation to comment your innitial question)
Related
Im trying to implement application wide copy and paste short cuts. (ctrl+C) etc.
The application consists of forms drawn in tab pages, and there are quite alot of forms. Ideally im after something (in the keypress of the main form) that would just see if the active control is a text box and If so pastes or copies text. Doing so on every text box on every form is unfeasible.
Another approach i guess would be to override the text box control application wide?
There must be an easy way to do this surely.
My googling so far hasn't come up with anything. Thankyou.
Ok; turns out there was a simple problem preventing this from working.
The EDIT menu in the menu bar on the main parent form was 'consuming' these keyboard short cuts.
Deleting this menu fixed the issue instantly.
I would like to apologize for my ignorance beforehand. I've studied some tutorials about ms access and i'm still quite lost. I am not sure how to phrase this question because I am not familiar with access terms and such.
I am trying to create a form with these problems
filling up a text box would allow me to select in a dropdown field related fields from the table.
e.g. putting uni in the textbox would show unicorn, unicode, university in the drop down
button that allows me to add more rows in this form.
e.g. clicking [add more rows] would generate a row of textboxes that are fillable
button that allows me to submit the whole form into the database (this would have to account for the growing number of rows based on the [add more rows])
a reset form button (i've read that some people just open and close the form in a button)
I have some knowledge of SQL but I am totally new to access. I would greatly appreciate links or some guide as to where I would be able to find these answers as I am quite confused as to what to google myself.
Thank you in advance
I'd like to open a pop-up when the Help Button is clicked.
I've got this window with 2 help buttons.
I want each help button, when pressed, to open a small squared pop-up beside them containing a small text that I've previously written.
What could be the best way to do it ?
I don't want it to be a window, just a square containing some strings.
Thanks.
You need NSPopover. It's fairly easy to implement. There is a sample project here.
I'm a bit new to reportviewer so I have a question that could solve my doubts about it. I created a DataSet and bind the table using the DataSet and created a report and show the data using the reportviewer. Here comes the problem that I can't seems to solve it. Below were the pictures that I am showing to you guys.
Notice the + sign in the box? How to make the reportviewer that it wouldn't show the + sign and immediately shows every data that I put. I need to click several times in order to see the entire data inside the reportviewer like the picture below.
I just found the answer to that doubts. It is to unselect the 'Expand/collapse' groups check box when you were creating.
I'm currently trying to create a small panel extension that recreates the 'minimap' feature on the Sublime Text 2 code editor, but for Dreamweaver. I've successfully created the view but I want to click anywhere in the minimap and the current page will scroll down to the current line that was clicked.
Unfortunately, I can only find the 'getCurrentLines()' code function for the Dreamweaver DOM that returns character offsets rather that line numbers. Does anyone know how I can return the current line number from the document?
I can scroll down the user document by hard-coding a value in using the theDOM.source.setCurrentLine(200); code, but it's getting that number which is stumping me! Any help is much appreciated.
There is dom.getLineFromOffset() can take one of the offsets and find the associated line, however, that should work only in the document window, not sure if that will assist in taking a selection in this "view" (by which I assume you mean panel) to move that into the document being edited.