Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 4
»
Dynamic screen variables
Dynamic screen variables
Post Reply
Like
25
Dynamic screen variables
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
zajac
zajac
posted 11 Years Ago
ANSWER
HOT
Topic Details
Share Topic
Group: Forum Members
Posts: 28,
Visits: 98
Hi guys. I am doing a fair bit of programming on a small laptop, but the actual testing of participants is done on 22" monitors. If I set my position parameters in %, I can't control the distance between them (in terms of pixels). If I define positions using pixels, then the way I define them for the bigger monitors means they won't display properly on a smaller monitor.
Imagine the following scenario. I have four squares that I want to display centrally. Each square will be positioned 50px from the centre most point. The large monitors have a vertical resoultion of 1080, so mid screen is 510px. On the laptop though, vertical resolution is 768px. So if I use the same program on the laptop it won't display centrally.
What I'm thinking is dynamically defining a position. For instance, can I create a variable (displaypos) which equals (verticalresolution/2)? Then, I could display images using verticalposition = displaypos?
Hoping someone has a fix for this issue. Maybe it's easier than I think? Anyway, thanks in advance for any advice!
Ian.
Reply
Like
25
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Dynamic screen variables
zajac
-
11 Years Ago
> What I'm thinking is dynamically defining a position. For...
Dave
-
11 Years Ago
Ok, so I'm not really getting anywhere with this. I have the following...
zajac
-
11 Years Ago
As already mentioned in my previous reply, you ought to multiply by...
Dave
-
11 Years Ago
Apologies for missing that part, Dave. Thanks for your help. All...
zajac
-
11 Years Ago
No worries -- I probably should have made the point more salient to...
Dave
-
11 Years Ago
Now just another quick question about <summarydata> : Can I get...
zajac
-
11 Years Ago
You either need to compute mean latency using <values> and log...
Dave
-
11 Years Ago
Dave - just a quick question again: Is it possible to have a sound...
zajac
-
11 Years Ago
Using /correctmessage, /responsemessage or /branch to another...
Dave
-
11 Years Ago
Never mind - I'm pretty sure I can call it as a...
zajac
-
11 Years Ago
Post Reply
Like
25
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search